General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Jeffrey Phipps
The Math Sorcerer
comments
Comments by "Jeffrey Phipps" (@jeffreyphipps1507) on "The Math Sorcerer" channel.
Previous
1
Next
...
All
@HansBezemer Local variables in languages (particularly numbers and memory locations are stored on the stack in any language). Forth is closer to assembly language in that fashion. His description is simply structured programming. All languages are interpreted/compiled down to binary/machine language - your primitives in this case. This brings up a point - a language like C can do OOP, but it gets difficult and ugly. However, C++ didn't compile to machine language originally. It compiled to C and then the C compiler was used to make it into machine language. C++ OOP was converted into the ugly commands in C for use in the C compiler. In math we start with arithmetic. Algebra is merely a group of formulas that save serious quantities of arithmetic being necessary. Similarly, Calculus breaks down the monotony of repetitive Algebra. We use what's appropriate for the job. Still, I've been trained on 40+ programming languages (I'm old) and the one thing I've come to realize is that they are common and get easier and easier to learn. He mentions FORTRAN - heck, that's an easy language to learn. I subbed for a uni teacher for the first class in a course and zipped through the entire book in the night class with a break in the middle. When he came back from his family emergency, all he could talk about was how everybody knew the language. Some languages are easier than others. Many are quite similar if you exclude I/O statements. C/C++/C#/Java/JavaScript/ECMAScript are fundamentally the same - except for their I/O statements. If you change from command line to a GUI, that changes the I/O even more. AND/OR/NOT are command primitives in silicon, in math we call this Predicate Calculus. It's all relative to what we need.
3
Basically these are the rules to Structured Programming. I teach these at uni year after year - I call them the "DNA of programming". All programming. All of these structures exist in all programming languages from high-level languages (pick your favorite) down to assembly language and its generated machine language. Learn one language and the next will be easier. Only the I/O statements really change from language to language. The structures are always there and change very little.
3
Previous
1
Next
...
All