Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
CoreyD97407y@olback Yeah they do, but print statements are always the true heroes & thanks, been around a while, just lurked for a long time!
-
I title my debugging statements some of the people I used to know.
console.log('Greg: stubborn variable didn't change')
Console.log('Mike: Instead of softly trying he just broke')
Console.log('Tim: FUNCTION DIDNT EVEN RUN THE OVAL')
Good venting strategy if you've got a large cold dead diamond of a heart like me. -
byanjati187yPrintln will help you debugs code just in case you are depressed. Cause you can print what the f** that you want.
And it was a stress relieve method -
fuyukine177y@PieInOblivion That's inspirational. I used to write lines such as
print(Jim is going to die) //for when a function starts
print(Jim is dead now) //for when the function has run correctly and
print(Jim is still alive) //for when the function has run badly
Related Rants
Is a code truly tested until it has print("Fuck this"), print("Fuck that"), print("Fuck you"), print("Fuck me") spread along every code path?
rant
giving up
coding
testing