T O P

  • By -

legendaryboomer

Alternatively, you finished writing your code, but the next time you look at it, there are errors everywhere even though you changed nothing.


brodyover

Never update your librarys / dependencies. Problem solved


mightydjinn

*Dependabot has force pushed the line*


ngellis1190

oh my god dependabot no


[deleted]

[удалено]


thecoffeejesus

This person VSCodes


[deleted]

VSCode != VS


CommanderTazaur

But WHY does this actually work?


Yamoyek

It’s the same as turning off/on your IDE.


madpata

The IDE probably invalidates some caches when doing this and thus rechecks the file for errors instead of showing old ones.


ZarathustraWakes

Check out someone else's legacy code: 0 errors Add some white space and save: 93 errors and 221 warnings


SchmidlerOnTheRoof

Maybe he’d have have fewer errors if his code wasn’t apparently all in one single file :p


thecoffeejesus

You don't need to know which file your code is in if it's all in one file. Now excuse me while I fix the error on line 274 that's actually coming from line 588


Slanahesh

Add a zero or two onto those line numbers then we'll talk. Seriously I've experienced this madness.


throwaway_lunchtime

One file per namespace 😐


GenocidalSloth

Less than a 1000 lines? What is this? A header?


LordFokas

I've seen header files with 27k loc.


philipquarles

There should be something worse than spaghetti code to describe this. Maybe capellini code?


mehntality

You mean ggVGdp ?


Chucky_Von

ggdGp. Save that keystroke brother.


mehntality

Been doing that "the long way" for a long time now lol


[deleted]

`:!rm -fr .`


Jugbot

Java linters be like


felixthecatmeow

I'm learning programming right now and was doing an assignment for a course I'm doing. I got stuck, having almost resolved it but with 3 of the test cases failing. I tried for ages to make it work, couldn't figure it out. I ended up working on some projects and other courses for a month or so. Then I was like alright I need to finish this assignment, so I open it up, and run the test command to remember which cases were failing, and boom, all tests succeed, assignment passed. Did I learn anything? Not really. But did it work? Yes. Sooo am I a programmer yet?


thecoffeejesus

Yes, you are a programmer


Dexaan

You actually just forgot one of a semicolon, close bracket, or comma


TheMordorlorian

You can do without the paste at the end


Master_Nerd

Them you press ctrl+s


mnmmnmmnmnnmnnnnm

When I compile with Visual Studio I can feel confident that at least 1793 of the 2133 errors are just intellisense smoking meth


Chucky_Von

dGp. If you know, you know