this post was submitted on 16 Sep 2024
456 points (89.7% liked)

Programmer Humor

32602 readers
158 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (3 children)

shit I was planning on learning programming starting from python... so what now? I've got some high-school level microcontroller C memories, and I'm proficient with Ladder and simple Instruction List. I tend to learn by doing, that's why I was going for Python, it felt like I could make something straight away.

[–] [email protected] 7 points 2 months ago

If you learn by doing, chose the language appropriate for the pet project you are developing.

[–] [email protected] 4 points 2 months ago (1 children)

You could use JavaScript although I would go straight to TypeScript. Or maybe C#.

I am biased as I work with TS and C# .Net.

[–] [email protected] 3 points 2 months ago (1 children)

Assuming we are not developing for Apple devices, it's C# all the way for me. I haven't touched another language that I would choose over it. The language is clear and functionally complete and all I suspect I will ever need for desktop application development.

Sidenote: I am fond of using JS for web dev, though the looseness of the syntax and the whole 'objects are just arrays' things make it hard to recommend for beginners

[–] [email protected] 3 points 2 months ago (1 children)
[–] [email protected] 2 points 2 months ago

there are unofficial dotnet compilers on linux, but I honestly c is just better.

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

buy yourself a copy of K&R 2e (The C programming language by Brian Kernighan and Dennis Ritchie). Its not only a good c book, but a great beginner programming book in general. If you're a learn by doing guy, it has a lot of exercises you do.

i normally don't learn by reading textsbooks myself, but this book proved an exception. its inexpensive too.