2 ms·
I’ve long thought that processing[1] makes for an interesting learning language because it’s simple to have something show on the screen. It incentives experime
by latexr 5y ago
I’ve long thought that processing[1] makes for an interesting learning language because it’s simple to have something show on the screen. It incentives experimentation and quick iteration.
It’s Java, which can slow you down as you simultaneously need to understand types and use an IDE, but that can be mitigated by a variant like P5.js[2].
Those do have a small amount of boilerplate which your tutorial foregoes, so thumbs up to that! But I think you should avoid the one character variable names, such as `a` and `i`. When I started, more verbose (and descriptive) variable names helped me keep things in my head, to the point I’d rename the example variables.
[1]: https://processing.org/ https://processing.org/
[2]: https://p5js.org/ https://p5js.org/
- chkas 5y agoThanks for your kind words. Especially when you have several variables, speaking names are of course useful. But I think that to a loop variable an "i" fits better than a - I don't know what ... For beginners, the one letter can be a hint that this is a variable, and the one with several letters like "len" is a keyword or a function. I once had a variable "sum" in an example program for summing up values. Some students thought this was a command to add.