News for hackers. Stuff that matters.
Re:The Top Programming Languages 2023 by sixstringtheory on Monday September 11, 2023 @08:51AM (#37466480)
As someone who expounds often on the merits of statically typed languages for production code, I couldn’t disagree more with the sibling comments discouraging teaching children programming with Python. I think it’s the best choice.

I remember when I was a TA teaching CS 101 with C++. People constantly stumbled with types and compilation. Just the concept of storing a value in a variable and retrieving it again was too much for some people.

That is where Python will shine for youngsters. Variables, control structures, functions. I bet they will get to the point on their own when they’re like “what’s the deal with numbers and letters being different”? and then you can take their hand and say “grasshopper, you are ready to learn about C/integers/ASCII/floating point”.

Re:The Top Programming Languages 2023 by machiaweliczny on Monday September 11, 2023 @09:17AM (#37466811)
Yeah but you need online IDE to have sandboxing if you try to build something more fancy as global deps by default bite so hard in python.

I like JS for it’s node_modules solution. In python you end up with libs conflicits and segfaults that you cannot debug unless you are deliberate about deps management.