News for hackers. Stuff that matters.
Re:We need visual programming. No, not like that by dhosek on Monday July 15, 2024 @05:49PM (#40971769)
My son who started programming at 7 pretty quickly moved on from languages like Scratch and Tinker. To the extent to which he uses them at all, it’s mostly to play games that are available in them. I’m not entirely convinced that he couldn’t have just started with Javascript or Python. It’s not like learning the syntax for a for loop¹ is that much harder than arranging the blocks in one of those block languages.

⸻

1. Although I must confess that I have a mental block about the second and third components of a C-style for-loop and whenever possible, I avoid them if I can.

Re:We need visual programming. No, not like that by nagonago on Monday July 15, 2024 @08:17PM (#40972606)
> Although I must confess that I have a mental block about the second and third components of a C-style for-loop and whenever possible, I avoid them if I can.

Glad I'm not the only one! Despite programming for over a decade, I still mix up the order of `update` and `condition` sometimes in `(initialization, condition, update)` for loops. Probably because I spent too much time with Python and became so accustomed to only using `for x in y` style loops.

Re:We need visual programming. No, not like that by dhosek on Tuesday July 16, 2024 @01:18PM (#40978391)
It has definitely pushed me to prefer foreach style loops in my coding which, I think, makes the code in general better (and, when writing in rust, faster as the generated code is able to eschew bounds checks).
Re:We need visual programming. No, not like that by Andrex on Tuesday July 16, 2024 @06:44PM (#40981015)
Is Visual Basic still a thing? That was my start and it always felt like a good intro language. It was limiting but you could still make "real" desktop apps.
Re:We need visual programming. No, not like that by roshankhan28 on Thursday July 25, 2024 @06:43AM (#41067005)
tbh its pretty much a big thing when 7 year old is intrested in any programming language. i am not a parent but in this age of ipad kids , that is really impressive as a parent.