4 ms·
The keywords are there on every line to make them easy to verbally read. This is most important in the case of set x = 7, the keyword makes it clear that we're
by csmeyer 3y ago
The keywords are there on every line to make them easy to verbally read. This is most important in the case of set x = 7, the keyword makes it clear that we're trying to mutate a variable, not assert equality.
Even though technically we could make forward() a method at the top level in the context of a paint program, we chose to make things more OOPy to prepare them for later when students get to the 2D game engine and there can be multiple sprites to control.
- deleted 3y ago[deleted]
- wruza 3y agoI always wanted `set` in regular languages instead of (or in addition to) =/==. Edit: well actually, I want a whole development studio like this for professional development. You are the closest of anything else to my vague idea of what programming should look like. I feel bad for the kids who later will have to move from this to what we call "our software development stacks".
- mikeravkine 3y agoPascals := is concise and intuitively obvious, so obviously it never caught on.
- fsckboy 3y ago>Pascals := is ... := is Algol's. Algol had a much bigger European influence than American, and other euro languages like Pascal followed its traditions
- avarun 3y agoHard to type though
- Yasuraka 3y agoGood news https://go.dev/tour/basics/10 https://go.dev/tour/basics/10
- kaba0 3y agoSo now Go has a single good feature!
- runlaszlorun 3y ago> I always wanted `set` in regular languages instead of (or in addition to) =/==. TCL ftw!