what's the best way to learn a programming language?
my thoughts is that i should learn basic syntax, but then work on challenges, but the problem there is that I don't know what challenges I can accomplish with each language
like doing a rotation cypher is VERY hard to accomplish in C, but then again it's C, but that's just an example
so what'd be the best way to learn stuff?
I wanna learn Python/C++/HTML/CSS/etc.
@tojo For C++ tho, start with the basic data structures and algorithms so you get acclimated to doing things other langs do for you.
Linked list, quick sort, etc
@tojo mmmn.... if linked lists are torture you might want to noooooooot use C/C++
Unless you're writing systems code, you probavbly shouldn't anyhow
@tojo For reals tho, I'm super in to native code - I write C/C++/Asm for a living, but if you ask me to write a non-systems/OS program, I'm gonna write it in python every time.
There's very little need for it, its very hard to do simple things, and you will 99% of the time hang yourself with the rope.
that scanf for example, even if you did it right would be a guaranteed buffer overflow.