PSA for beginner programmers:
whatever your first language is, it will probably suck and you should learn more languages and more paradigms
this message brought to you by the existence of NodeJS
@grainloom
@Shamar
yeah, when you know more languages, you'll be able to better pick right tool for the job.
Yes, everyone has to learn different languages.
However, starting with C means that you know how everything works directly with memory. You learn to implement very complex functionality (with ugly syntax, such as pointers to functions and whatnot) but you know how it works on a low level.
Then you go to other languages, and you learn algorithms, and design algorithms and think in several languages. That's the goal.
@rice @Shamar @grainloom None of them required manual memory management.
When I started learning C++, I already knew very well how to express what I want to do as a formal program. split my code into functions, and basics of OO. So I only needed to learn the syntax, the pointers, and the specifics of C++ classes.
@rice @Shamar @grainloom
now that I think of it, maybe I should've learned C instaed of C++, but C++ was what I needed at the moment.
Fair enough. I just want people to understand how things work on a low level, AND be able to think on high levels of abstraction.
@rice @Shamar @grainloom
Yeah, me too. But learning the low level stuff doesn't need to be the first thing one learns, and it'd be too much at once IMO.
Oh, definitely doesn't have to be. Just my observation on what has worked for me personally and what I'd like to see in others.
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
pedantry Show more
troll attempt Show more
troll attempt Show more
troll attempt Show more
troll attempt Show more
pedantry Show more
pedantry Show more
@rice @Shamar @grainloom meh, I'd say a better starting language would be something with GC. IMO it's better to learn how to program in a safe environment that will gently tell you about your errors instead of doing some undefined behaviour or a mysterious segfault.
The first programming language I tried to learn was either PHP or Clipper, haven't coded much in it tho. Then I learned some heavily-object-oriented language used by some niche game engine.