deleteThisUnholyLine

cottagecraver
33 Comments
Subscribe
Notify of
33 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

That’s better than it’s saying error line 500 when there’s 100 lines of code only.

Wrong whitespace for the compiler. Someone used Tab instead of Space (or a mix of both), or vice versa, is usually the problem. Or someone may have cut-and-pasted something with some non-printable characters in there… usually if it looks like a blankย line, and it’s throwing an error, it’s actually not blank. Best fix is to just delete the blank line and re-insert it.

Im tired of this same meme

Looks like an incorrect semicolon on 264. Usually you donโ€™t need one after a closed curly bracket. I have no idea why some of them throw the error from the next line down.

Lint error. Only one next-line character allowed.

Next question….

This is too true though as a programmer i can get this sometimes and its like “wait line 50 but there is no code there” and then when you delete the line it complains that another line is bad.

Delete line 265

Checkmate.

I donโ€™t know how I managed, but I got an error on line -1 in a Python program last year. I forget what I did to fix it, but it was some really stupid error. Iโ€™m really curious what made it do that though

Maybe there is an invisible character ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ

Bring in the digital exorcist.

he’s programming in python

This meme format though ๐Ÿคฃ

Save the file before compiling next time

Line 20672? More like line 20672 of pure existential dread.

I don’t understand this joke

SonarLint does this.

JavaScript moment

It’s the times like this , when you remember God and run the code once again without any change hoping that the error is gone

js ๐Ÿคฎ

Well yeah, it’s given you the ballpark. Somewhere around line 265. If the typo is on 264 or 267, you’ve got nothing to complain about.

You are all so wussy! When I learned programming, FORTRAN-4, if I had a syntax error in my twice a day card deck submission, here is the entire error message:

Syntax error

Indentation, always indentation

When I see this, i first check my environment. When I see something like this, it’s almost always the case that the code I compiled is not what I edited.

Ctrl+s

You’re looking at it from an angular.

When the cached file is different version

“but that’s impossible”
“ope I’m in the wrong file”
“ope I’m in the wrong folder”
“ope I’m in the wrong repo”
“ope I’m on the wrong server”

I have recently worked with a terrible custom proprietary framework that gives false line numbers in error readouts because it fails to account for comments.

So if you have 3 lines of comments at the start of a file, then the line numbers in all error messages will be off by 3. If the real file has an error in line 10, the error readout will say it’s in line 7.

I currently assume that their interpreter simply removes all comments on loading the file.

no comment

Love how this just proves how much we need change. It’s crazy that we still have to fight for basic rights in 2024. Letโ€™s keep pushing, the system has to do better.

whyCamelCase?

isnt it because the compiler doesnt count empty lines

Its a meme, programmers, please do not get technical… Enjoy life, have a little fun

33
0
Would love your thoughts, please comment.x
()
x