mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{Title}} | {{Title}} | ||
Code consists of instructions written in <s>alien</s> machine languages. Contrary to popular belief, | Code consists of instructions written in <s>alien</s> machine languages. Contrary to popular belief, they are much ''easier'' to read and write than human languages. In fact, '''you''' are now going to be taught how to code in this very article! | ||
== '''How to code''' == | == '''How to code''' == | ||
Let's get right down to it: All you need to learn are ''five core concepts''. The language doesn't matter. At a high level, they're all the same. Half of them look like C, and we're not talking the letter, the grade, or even the speed. C, being a true renaissance man, is also a ''language''. Let's follow in the footsteps of everyone else and write our code to be like C. | Let's get right down to it: All you need to learn are ''five core concepts''. The language doesn't matter. At a high level, they're all the same. Half of them look like C, and we're not talking the letter, the grade, or even the speed. C, being a true renaissance man, is also a ''language''. Let's follow in the footsteps of everyone else and write our code to be like C. |
Revision as of 15:45, 5 December 2024
Code
Code consists of instructions written in alien machine languages. Contrary to popular belief, they are much easier to read and write than human languages. In fact, you are now going to be taught how to code in this very article!
How to code
Let's get right down to it: All you need to learn are five core concepts. The language doesn't matter. At a high level, they're all the same. Half of them look like C, and we're not talking the letter, the grade, or even the speed. C, being a true renaissance man, is also a language. Let's follow in the footsteps of everyone else and write our code to be like C.
Variables
Functions
Conditionals
Loops
Classes
Examples
What now?
Now you pick your first language. Much like buying your first car, this will depend on your needs and desires, but should prove to be much cheaper.
Due to the above comparison, we will not be advising you to "go out and break a leg", but wish you Godspeed instead.