Beginner here, is this a really bad way of creating random letters?
https://redd.it/13m3cu5
@r_badcode
https://redd.it/13m3cu5
@r_badcode
This code is currently running in production. Senior developer says "tHiS iSn'T uNiVeRsItY, yOu cAn'T eXpEcT tHe cOdE tO bE pErFeCt lIkE iN tHe bOoKs"
https://redd.it/13l4to4
@r_badcode
https://redd.it/13l4to4
@r_badcode
React - Recalculate the item, if the recalculated item changes. . .
https://redd.it/13liz7i
@r_badcode
https://redd.it/13liz7i
@r_badcode
Some code I saw today at uni... I don't even know where to begin (1K lines of this)
https://redd.it/13kmrzz
@r_badcode
https://redd.it/13kmrzz
@r_badcode
Code written by project lead. A comment was added by my team member that the entire method can be replaced with a single line: getErrorsList().contains(message). Project lead responded that we should focus on readability and performance and not on such code review comments.
https://redd.it/13far22
@r_badcode
https://redd.it/13far22
@r_badcode
From the dev - "TODO: EXPLAIN THIS MONSTROSITY!" 3 changes and it's still not done yet. (not bad code though)
https://redd.it/13dlicd
@r_badcode
https://redd.it/13dlicd
@r_badcode
This is what happens when you try to make a 2D game look 3D... if it works it works (?) 🤷♂️
https://redd.it/13c18ey
@r_badcode
https://redd.it/13c18ey
@r_badcode
Better treat this number as a string to make sure that .. make sure that .. that it’s sure .. ehhrrmm.
https://redd.it/13bli5m
@r_badcode
https://redd.it/13bli5m
@r_badcode
Removed by Reddit
Removed by Reddit on account of violating the [content policy. ]
https://redd.it/138m4b0
@r_badcode
Removed by Reddit on account of violating the [content policy. ]
https://redd.it/138m4b0
@r_badcode
Reddit
From the badcode community on Reddit: [ Removed by Reddit ]
Posted by [Deleted Account] - 68 votes and 25 comments