I saw this post today and it took me back to my only CS class which was taught using Java. I'll post my embarrassing final project below π
No judgment: share the most embarrassing code you've ever written!
I saw this post today and it took me back to my only CS class which was taught using Java. I'll post my embarrassing final project below π
No judgment: share the most embarrassing code you've ever written!
For further actions, you may consider blocking this person and/or reporting abuse
Muhammad Usman -
Trix Cyrus -
Rakhi Singh -
vivek -
Top comments (11)
I write open source code, so all my shame is public
Its not so much a piece of code itself, but my most embarrassing moment was when I got called behind the pc of a team mate and he showed me that his password was visible in localstorage, because the login I implemented put it there... I put the credentials instead of the token in localstorage and then I messed up further, by adding the password to the token which isn't private either, just slightly harder to decode π€¦ in the end I did it right, but that was a painful way to learn π
@peter Are you implying that post had some embarrassing code? ;)
I don't have it because I don't own that code (a former employer does), but I had a commit that I later had to fix in production with the comment "The only explanation I have for this past code is that I was coding on painkillers at the time". I can't recall the specifics of what the code was, but I still remember the message of the fix commit.
Can't reproduce exactly but goes like this (pseudo code):
Took me a while to understand that in the end it was just procedural code and no enum, switch or for loop were required. (Ps it was probably a 200 lines function! Which in itself is embarrassing)
Most of my most embarrassing code is lost to the sands of time.
But when I was a huge n00b at frontend stuff, one of my first projects was a web game for practicing Japanese kanji readings, and it was disgusting. Not only did I suck at CSS, I sucked really bad even just at coordinating colors too.
It got reviewed here and you can see some screenshots. Just hideous, I cringe to see it now.
I am still bad at frontend, but not as bad. I have polished this project up a bit since and it's far from amazing but I'm no longer ashamed of it :)
tbh I've seen worse design from "professional web designers" π€·ββοΈ
Cursing Css for an hour before I turned my monitor brightness up...
Some comments may only be visible to logged-in visitors. Sign in to view all comments.