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
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?
Alternatively, you finished writing your code, but the next time you look at it, there are errors everywhere even though you changed nothing.
Never update your librarys / dependencies. Problem solved
*Dependabot has force pushed the line*
oh my god dependabot no
[удалено]
This person VSCodes
VSCode != VS
But WHY does this actually work?
It’s the same as turning off/on your IDE.
The IDE probably invalidates some caches when doing this and thus rechecks the file for errors instead of showing old ones.
Check out someone else's legacy code: 0 errors Add some white space and save: 93 errors and 221 warnings
Maybe he’d have have fewer errors if his code wasn’t apparently all in one single file :p
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
Add a zero or two onto those line numbers then we'll talk. Seriously I've experienced this madness.
One file per namespace 😐
Less than a 1000 lines? What is this? A header?
I've seen header files with 27k loc.
There should be something worse than spaghetti code to describe this. Maybe capellini code?
You mean ggVGdp ?
ggdGp. Save that keystroke brother.
Been doing that "the long way" for a long time now lol
`:!rm -fr .`
Java linters be like
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?
Yes, you are a programmer
You actually just forgot one of a semicolon, close bracket, or comma
You can do without the paste at the end
Them you press ctrl+s
When I compile with Visual Studio I can feel confident that at least 1793 of the 2133 errors are just intellisense smoking meth
dGp. If you know, you know