1056
you are viewing a single comment's thread
view the rest of the comments
[-] magic_lobster_party@kbin.social 96 points 2 years ago* (last edited 2 years ago)

I would swap Python with C++. Constantly dealing with stupid runtime errors that could’ve been easily captured during compile time.

Did you forget to rename this one use of the variable at the end of the program? Sucks for you, because I won’t tell you about it until after 30 minutes into the execution.

[-] eager_eagle@lemmy.world 47 points 2 years ago* (last edited 2 years ago)

you need a linter, bro

when integrated into the editor it'll highlight stupid mistakes as they're typed

I recommend Ruff for real time checks, and pylint if you need a comprehensive analysis.

[-] darcy@sh.itjust.works 17 points 2 years ago

sure, but thats just outsourcing the problem.

[-] potustheplant@feddit.nl 32 points 2 years ago

It's also a solution...

load more comments (1 replies)
load more comments (2 replies)
load more comments (33 replies)
this post was submitted on 02 Feb 2024
1056 points (98.4% liked)

Programmer Humor

37530 readers
169 users here now

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

Rules:

founded 6 years ago
MODERATORS