this post was submitted on 09 May 2024
267 points (100.0% liked)

Programmer Humor

853 readers
12 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
[โ€“] ngn@lemy.lol 47 points 6 months ago (4 children)
[โ€“] Epzillon@lemmy.ml 115 points 6 months ago (1 children)

Isn't that from 1991 while the quote is from 1995? If we're nitpicking maybe we shouldn't time travel ๐Ÿค“

[โ€“] lowleveldata@programming.dev 44 points 6 months ago (1 children)

Damn it Time Patrol! You can't stop me!

[โ€“] avidamoeba@lemmy.ca 16 points 6 months ago
[โ€“] metallic_z3r0@infosec.pub 34 points 6 months ago

I mean it was 0.01, at that point he was screwed anyway, and he fixed his program.

[โ€“] redcalcium@lemmy.institute 31 points 6 months ago (1 children)

He wouldn't make that statement unless he experienced the horror himself.

Now, if he still does it these days...

[โ€“] rwhitisissle@lemmy.ml 11 points 6 months ago

I've heard similar from the worst first year CS students you could ever meet. People talk out their ass without the experience to back up their observations constantly. The indentation thing is a reasonable heuristic that states you are adding too much complexity at specific points in your code that suggests you should isolate core pieces of logic into discrete functions. And while that's broadly reasonable, this often has the downside of you producing code that has a lot of very small, very specific functions that are only ever invoked by other very small, very specific functions. It doesn't make your code easier to read or understand and it arguably leads to scenarios in which your code becomes very disorganized and needlessly opaque purely because you didn't want additional indentation in order to meet some kind of arbitrary formatting guideline you set for yourself. This is something that happens in any language but some languages are more susceptible to it than others. PEP8's line length limit is treated like biblical edict by your more insufferable python developers.

[โ€“] refalo@programming.dev 6 points 6 months ago

line 152 is the only thing past 3 levels and I'd say that one gets a pass.