How to Think About Variables in C
-
C is memory with syntactic sugar and as such it is helpful to think of things in C as starting from memory. One of the pieces that I think is often overlooked is variables and data types. If you have the right mental model for variables and data types it makes other concepts in C, and other langauages, easier.
I absolutely love this: "C is memory with syntactic sugar."
-
C is memory with syntactic sugar and as such it is helpful to think of things in C as starting from memory. One of the pieces that I think is often overlooked is variables and data types. If you have the right mental model for variables and data types it makes other concepts in C, and other langauages, easier.
I absolutely love this: "C is memory with syntactic sugar."
-
:thumbsup: 'Xactly.
-
C is memory with syntactic sugar and as such it is helpful to think of things in C as starting from memory. One of the pieces that I think is often overlooked is variables and data types. If you have the right mental model for variables and data types it makes other concepts in C, and other langauages, easier.
I absolutely love this: "C is memory with syntactic sugar."
-
For example, a more functional definition of a type: The type defines the possible values as well as available operations. Which I find way more functional than "a number of bytes".
-
For example, a more functional definition of a type: The type defines the possible values as well as available operations. Which I find way more functional than "a number of bytes".