this post was submitted on 28 Nov 2024
462 points (88.5% liked)

Programmer Humor

32743 readers
546 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
[–] fl42v@lemmy.ml 33 points 4 weeks ago (4 children)

I've learned python after CPP... And I can't #even remember all the cases when I thought "damn, I wish I could've just used pointers"

[–] tiefling@lemmy.blahaj.zone 16 points 4 weeks ago (1 children)

I've been in industry for a decade, big tech for over 6 years. And I STILL fucking hate Python. I can write in it, but everything about it just feels wrong

[–] dafo@lemmy.world 4 points 4 weeks ago* (last edited 3 weeks ago)

Similar story in our team with 2-15 YoE. We do TS and C# but recently did a hostile takeover of the API from one of our providers which is in python We all now fucking hate python. The codebase is fine, the language isn't.

[–] paris@lemmy.blahaj.zone 12 points 4 weeks ago

Might I introduce you to the wonderful language known as Nim? Python-like syntax, compiles to C, C++, and even JS, has mature libraries and good tooling, and some memory safety features built in! And yes, you can use pointers!

[–] Treczoks@lemmy.world 7 points 4 weeks ago

Even our C++ guys won't touch my C code with all the pointer tricks and unions used for hidden castings. Whimps!

But python has worse problems than lacking pointer. Have you ever copied a piece of code from an external source into a python source? It really can f-ck up everything if one has tabs and the other has spaces.

[–] nothacking@discuss.tchncs.de 3 points 4 weeks ago

Or a complier that tells me when I mispell a variable in an assignment or use the wrong type for something.