Archived What is your favorite comment you came across in code? (programming)
submitted ago by for_satan
Posted by: for_satan
Posting time: 5.5 years ago on
Last edit time: never edited.
Archived on: 2/12/2017 1:51:00 AM
Views: 1720
SCP: 30
30 upvotes, 0 downvotes (100% upvoted it)
Archived What is your favorite comment you came across in code? (programming)
submitted ago by for_satan
view the rest of the comments →
[–] captbrogers 0 points 9 points 9 points (+9|-0) ago
I can't remember it exactly, but it was something like:
Backstory: My team lead was heavily against using any 3rd party code, including frameworks (writing PHP like it was 1998, but it was just two years ago!).
So I had to writing something that does pretty much what Carbon does, but object oriented code wasn't used on this project. Had to do it as procedural with several functions. Any attempt to just scrap the file and rewrite it would end up just as corrupted with spaghetti as before as he made some edits. I'd get it working, he'd break it again. I lasted 6 months at that job.
[–] taxation_is_slavery 0 points 4 points 4 points (+4|-0) ago
If a company survives long enough on products like that, they usually start asking why development is so expensive, then they outsource to Indians which sends the company into a swan dive above concrete.
[–] captbrogers 0 points 2 points 2 points (+2|-0) ago
Oh they already did that for the HTML/CSS. Tables. Tables everywhere. Nested. I was surprised it didn't say "best viewed in IE".
[–] for_satan [S] 0 points 1 point 1 point (+1|-0) ago
We had something similar in a code base that I worked in, effectively
It was also PHP coded like 99, in 2012
[–] captbrogers 0 points 1 point 1 point (+1|-0) ago
Same kind of mentality I had to face. It was salt in the wound because I took the job out of necessity. I had to drive over 40 miles one way, so it took me nearly an hour because of traffic when driving.