Judson’s Substack

Judson's Substack focuses on programming concepts, primarily in C and Python, covering topics like memory management, data types, algorithms, and object-oriented programming. It includes practical programming challenges such as creating calculators and games, while also exploring foundational principles like recursion, sorting algorithms, and efficient data organization.

Programming Fundamentals C Programming Python Programming Memory Management Data Types Algorithms Object-Oriented Programming Software Development Challenges

The hottest Substack posts of Judson’s Substack

And their main takeaways
5 implied HN points 03 Jul 23
  1. Object-Oriented Programming (OOP) is like creating blueprints and instances that can be reused.
  2. In Python, you can create classes with attributes like shape and flavor, and then create instances like my_cookie or your_cookie.
  3. The concept is similar to the Aristotelian distinction between universal (class/blueprint) and particulars (instances).
5 implied HN points 21 Jun 23
  1. Copying strings in C requires explicit commands for each function or command.
  2. Allocating memory using malloc in C allows for flexible memory management.
  3. Freeing allocated memory using free() in C prevents memory leaks and segmentation faults.
5 implied HN points 20 Jun 23
  1. In C, 'string' doesn't exist on its own, but is represented by 'char *' in the cs50.h library.
  2. Using pointers and pointer arithmetic in C helps in accessing and iterating through addresses in memory.
  3. When comparing strings in C, remember to use 'strcmp' instead of '==' to check if the contents are the same.
5 implied HN points 19 Jun 23
  1. Computers use a system of hexadecimal values to understand numbers and characters beyond 10.
  2. Every piece of data on a computer has a specific address that can be accessed through pointers.
  3. Misusing memory or data addresses in programming can lead to bugs and code instability.
Get a weekly roundup of the best Substack posts, by hacker news affinity:
5 implied HN points 14 Jun 23
  1. Judson Bonneville is launching something soon.
  2. The website is judsonbonneville.substack.com.
  3. The post is hinting at an upcoming content release.
0 implied HN points 11 Jul 23
  1. The program allows two players to enter words and calculates their scores based on letter values.
  2. The program then determines the winner based on the scores - player 1 wins, player 2 wins, or a tie can occur.
  3. It uses ASCII values to assign points to each letter in the words and checks if the characters are letters.