this post was submitted on 16 Sep 2024
453 points (97.3% liked)

Programmer Humor

19503 readers
411 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] FuglyDuck@lemmy.world 36 points 1 month ago (2 children)

It's also important to note that you might come out ahead in learning those abstract concepts using a harder language.

But my first language was Pascal. from a book stolen from my dad's library. Then C++. I still wouldn't call myself anything other than an amateur.... I mean, my dad can do more with one line of C than most programmers can do in their entire career. (he really shouldn't. but he does. Calls it "job security".)

[–] oce@jlai.lu 8 points 1 month ago (1 children)

It’s also important to note that you might come out ahead in learning those abstract concepts using a harder language.

I agree that you will learn more abstract concepts with more low level languages, but they are often not necessary. See Scala, beautiful language, lot's of fancy subtle computer science concepts, and a plummeting popularity since its main popularizer, Apache Spark, implemented a Python API.

[–] FuglyDuck@lemmy.world 6 points 1 month ago

Well. yes. it does strongly depend on what you intend to do with it.

Python is a great language that's very broadly used; there's a reason that Apache added the python API; after all. (and why Scala is plummeting.) I wouldn't even say Pascal was all that useful, to me. I think I 'learned it' enough to get through the dumb book, and then went on to something else. C++ was more fun anyhow.

[–] asyncrosaurus@programming.dev 5 points 1 month ago* (last edited 1 month ago) (1 children)

I was hacking scripts and web shit together in perl, python and php for many years before learning C, and just a couple months learning C/C++ made me understand so many more basic concepts than all previous years experiences combined.

[–] OpenStars@discuss.online 1 points 1 month ago (1 children)

Try assembly then - it'll freaking blow your mind!:-)

[–] asyncrosaurus@programming.dev 1 points 1 month ago (1 children)

I took a compiler course focused on optimization and porting. So I worked with x86 and ARM. There's very little reason in modern computing to write assembly by hand, but it's still useful to be able to read and understand.

[–] OpenStars@discuss.online 1 points 1 month ago

Having to work within such constraints, it really showed me difficulties that modern languages try to entirely abstract away from you. e.g. there are only so many "registers" that physically exist, before you have to start using much slower to access memory locations - a very far cry indeed from automated variable garbage collection!!