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 I think of you try to do a rotation cypher in C you will find you have no problems - start there!

@Fuego @tojo heh, I did try it but I ended up with some problems as a result like here cybre.space/@tojo/990436201382

Follow

@tojo don't use scanf or its family of functions - read one character at a time into a buffer which doubles when it gets to max size using realloc, then parse by hand.

@Fuego I understand what u told me but I have no idea how to implement

seems like I should do more research

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!