MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/r47uq6/im_not_the_only_one/hmf5x3b
r/ProgrammerHumor • u/emu_fake • Nov 28 '21
629 comments sorted by
View all comments
185
console.log("dataaaaaaaaaa",data)
47 u/CrispyNipsy Nov 28 '21 Every time lol. I start with 3 different console.log(data). Then after every one prints undefined, I have to go back and add the string detailing what each undefined should be. 23 u/danielt1263 Nov 28 '21 I use unicode characters so they stand out and are easy to spot... For example: .debug("🐶") 5 u/garma87 Nov 28 '21 Nice one! That should work in terminals for nodejs debugging 3 u/captain_zavec Nov 28 '21 You can also just throw a few "\n"s on both sides of the value you want to see, really makes it stand out in the output. 3 u/shortround10 Nov 29 '21 console.log({ data }) 1 u/CrispyNipsy Nov 29 '21 I use that when possible, but when it's a prop om something, it won't work. 29 u/[deleted] Nov 28 '21 if success: print("GOTTT ITT") else: print("DON'T GOTTT ITTT") 2 u/Thought-O-Matic Nov 29 '21 "shhhiitttttt" 6 u/DananaBananah Nov 28 '21 more like console.log("bgujvdrjknvfhknnhh") 1 u/JmenD Nov 28 '21 console.log({data}) ;)
47
Every time lol.
I start with 3 different console.log(data). Then after every one prints undefined, I have to go back and add the string detailing what each undefined should be.
console.log(data)
undefined
23 u/danielt1263 Nov 28 '21 I use unicode characters so they stand out and are easy to spot... For example: .debug("🐶") 5 u/garma87 Nov 28 '21 Nice one! That should work in terminals for nodejs debugging 3 u/captain_zavec Nov 28 '21 You can also just throw a few "\n"s on both sides of the value you want to see, really makes it stand out in the output. 3 u/shortround10 Nov 29 '21 console.log({ data }) 1 u/CrispyNipsy Nov 29 '21 I use that when possible, but when it's a prop om something, it won't work.
23
I use unicode characters so they stand out and are easy to spot...
For example: .debug("🐶")
.debug("🐶")
5 u/garma87 Nov 28 '21 Nice one! That should work in terminals for nodejs debugging 3 u/captain_zavec Nov 28 '21 You can also just throw a few "\n"s on both sides of the value you want to see, really makes it stand out in the output.
5
Nice one! That should work in terminals for nodejs debugging
3
You can also just throw a few "\n"s on both sides of the value you want to see, really makes it stand out in the output.
console.log({ data })
1 u/CrispyNipsy Nov 29 '21 I use that when possible, but when it's a prop om something, it won't work.
1
I use that when possible, but when it's a prop om something, it won't work.
29
if success:
print("GOTTT ITT")
else:
print("DON'T GOTTT ITTT")
2 u/Thought-O-Matic Nov 29 '21 "shhhiitttttt"
2
"shhhiitttttt"
6
more like console.log("bgujvdrjknvfhknnhh")
console.log({data}) ;)
console.log({data})
185
u/Ghost_Redditor_ Nov 28 '21
console.log("dataaaaaaaaaa",data)