Programming thread

What's a good service to learn Python?
If you just want to see how incredibly gay it can be then check out Codeacademy.
It will show you the basics but at the same it is a kind of a trap because you'd be doing all the exercises in an ecosystem that is ultimately different from actual programming ecosystem and that might cause you some frustration once you decide to take off the training wheels. Still, it's not entirely a bad choice for a complete beginner who just want to see what all the fuss is about.
Once you're done with that pick up a book about the language and just go through it. If you decide the book sucks then pick up an another one and keep doing that until you find one that appeals to you. Read the entire thing, even if it's like 1k pages. You should also (probably) disregard any book about Python 2.x. I'm not an experienced Python programmer, but from what I can see 3.x is the future and has been for quite a while now. Someone else can probably give you more insight on that.
 
  • Agree
Reactions: Polyarmory
if you want to be a programmer you should start by typing out random letters and making random changes until it compiles, then you will learn by brute force.
Start small.
 
  • Agree
Reactions: Rango Dango
You should also (probably) disregard any book about Python 2.x. I'm not an experienced Python programmer, but from what I can see 3.x is the future and has been for quite a while now.
python 2 is extremely ancient and unsupported, to the point of not being in many package managers
it doesn't really have that many huge differences from python 3 iirc, so maybe you could learn from a python 2 book if you understood the differences
if you want to be a programmer you should start by typing out random letters and making random changes until it compiles, then you will learn by brute force.
Start small.
also don't learn specific languages
you should probably learn stuff like c and scheme even if you never use it because just having knowledge of it will help you
in fact maybe learn a bit of scheme and a bit of c first and then go to python later, unless you really do need python specifically right now
 
C is a really good language to learn if you can because the need isn't going anywhere but new guys are generally keeping away from it due to it's reputation that it's hard to work with.

I think the reputation is undeserved and probably comes from trannies promoting Rust.

Rust has a place as the systems language you have pajeets learn. If you are smart enough to follow some pretty easy to understand rules you gain nothing by Rust's memory safety.

Also if memory safety is so important consider doing the needful and never using heap allocation.
 
  • Thunk-Provoking
Reactions: y a t s
C is a really good language to learn if you can because the need isn't going anywhere but new guys are generally keeping away from it due to it's reputation that it's hard to work with.
And the book, shown recently, is very short.
It's one of very few print computer books I've kept. Along with a Strostrup C++ book, the W. Richard Stevens networking books and maybe a data structure book.
 
  • Like
Reactions: Jotch
The worst part about C is that it has like 90% perfect syntax and then 10% complete garbage like pointer syntax and type degeneration.

I've been using Odin in a side-project for a little while and I would recommend it over the other two nu-langs (Rust/Zig).

You get C-level power without the retarded little bits of C.
 
The worst part about C is that it has like 90% perfect syntax and then 10% complete garbage like pointer syntax and type degeneration.

I've been using Odin in a side-project for a little while and I would recommend it over the other two nu-langs (Rust/Zig).

You get C-level power without the retarded little bits of C.
What's your side project?
 
Back