Sorry I have to ask... Which pun? I'm not a native English speaker.
Nope that pun was an accident...
Exactly Sorry for the offtopic BTW,
A bit off-topic: Would it be recommended to learn Erlang while also learning Elixir or another FP lang?
Elixir is just Erlang with a different syntax, don't bother. If you want to learn a traditional FP language I'd recommend OCaml or so over Haskell, unless you want entirely and utterly pure, then Haskell (just prepare for huge compile times that rival C++).
I recommend you start with the book Learn to Program by Chris Pine (https://pine.fm/LearnToProgram/). it is a book specifically geared toward teaching someone who does not know how to program, the basics of programming. The book does not use Elixir... it uses Ruby, but it covers important concepts.
If someone is going to start with their first OO language, it has to be Python. Much better language without the quirks. This is purely from an academic perspective. JS has too many pitfalls for new programmers that they would have to unlearn when progressing to the next language of choice. I like JS, just wouldn't recommend it as a first language.
I respect that. You can take the question as academic or more utilitarian. Academically it's hard to argue for JS.
Just because it can do something, doesn't mean it should.
It also has types, classes (ick), optimizations, an utterly fantastic debugger, an excellent externs format, etc... etc... Give Haxe credit, it is really a great language.
Terrific. I welcome it to take over the world of programming rather than sitting in the obscure niche it currently occupies.
After all, web assembly is coming and who wants to learn C++ and/or Rust?
Its actually had a huge uptick in popularity the past year, which has caused it to get some really good DOM libraries and virtual dom implementations (Doom being the most popular), it is fascinating.
I loved that book - it's what made me think that I could in fact become a programmer. Highly recommended
Should we learn the classic books after getting our hands in basic programming?I'm quite comfortable with flow, loops, and toys app; would that be enough to try SiCP and HtDP?
The Structure and Interpretation of Computer Programs was the "computer science 101" class at MIT for quite some time so you should be able to pick it up I would think. In fact the video lectures from the class as taught in the mid 80's is available as MIT open courseware with the lectures on YouTube (e.g. https://www.youtube.com/watch?v=2Op3QLzMgSY) which I found to be quite useful for following along in the book.
I believe How to Design Programs came afterward. It's fun too with all the graphics you get in Racket.
"How to Design Programs, Second Edition" see's it self as a refinement of "Structure and Interpretation of Computer Programs 2e" for the beginning/learning programmer (see "The Structure and Interpretation of the Computer Science Curriculum (pdf)").
Let us know if you choose to go that route - I'm sure future learners can benefit from your experience.
Don't forget that there is also Realm of Racket - Learn to Program, One Game at a Time! (sample Ch.14) when things get a bit too dry in HtDP2!