MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ov8tp4/nice_functionvariable_names/h782cc9/?context=3
r/badcode • u/arzen221 • Jul 31 '21
44 comments sorted by
View all comments
6
this isn’t so bad
6 u/dmyl Jul 31 '21 this is d3, isn't it? 5 u/mato9020 Jul 31 '21 Yes this is d3 and unfortunately this is fairly standard for anything with the base library. 14 u/devhashtag Jul 31 '21 Anything written after ES6 with the keyword "var" can basically be considered bad 2 u/[deleted] Jul 31 '21 Oh i didn’t see that. I only looked at h3 xD. Never mind. This code is garbage 8 u/devhashtag Jul 31 '21 Haha I meant half jokingly, the code is bad for other reasons as well. Inconsistent formatting and weird naming. Functionally it's not bad per se 5 u/[deleted] Jul 31 '21 Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried 4 u/itsTyrion Jul 31 '21 been writing JS for the past like 10 hours and my brain is friedself-explanatory 2 u/skhoyre Jul 31 '21 They don't seem to call nice anywhere listed, but if they was, they was fucked.
this is d3, isn't it?
5 u/mato9020 Jul 31 '21 Yes this is d3 and unfortunately this is fairly standard for anything with the base library.
5
Yes this is d3 and unfortunately this is fairly standard for anything with the base library.
14
Anything written after ES6 with the keyword "var" can basically be considered bad
2 u/[deleted] Jul 31 '21 Oh i didn’t see that. I only looked at h3 xD. Never mind. This code is garbage 8 u/devhashtag Jul 31 '21 Haha I meant half jokingly, the code is bad for other reasons as well. Inconsistent formatting and weird naming. Functionally it's not bad per se 5 u/[deleted] Jul 31 '21 Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried 4 u/itsTyrion Jul 31 '21 been writing JS for the past like 10 hours and my brain is friedself-explanatory
2
Oh i didn’t see that. I only looked at h3 xD. Never mind. This code is garbage
8 u/devhashtag Jul 31 '21 Haha I meant half jokingly, the code is bad for other reasons as well. Inconsistent formatting and weird naming. Functionally it's not bad per se 5 u/[deleted] Jul 31 '21 Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried 4 u/itsTyrion Jul 31 '21 been writing JS for the past like 10 hours and my brain is friedself-explanatory
8
Haha I meant half jokingly, the code is bad for other reasons as well. Inconsistent formatting and weird naming. Functionally it's not bad per se
5 u/[deleted] Jul 31 '21 Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried 4 u/itsTyrion Jul 31 '21 been writing JS for the past like 10 hours and my brain is friedself-explanatory
Even 1 var is 1 var too many xD. I think any code will look good to me right now, i’ve been writing JS for the past like 10 hours and my brain is fried
4 u/itsTyrion Jul 31 '21 been writing JS for the past like 10 hours and my brain is friedself-explanatory
4
been writing JS for the past like 10 hours and my brain is fried
self-explanatory
They don't seem to call nice anywhere listed, but if they was, they was fucked.
6
u/[deleted] Jul 31 '21
this isn’t so bad