The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Disagree with your assertion. For the most part, people who write obtuse software which isn't fault-tolerant think their code is fine.
Herp-derp, I'll just hard-code this value, won't attempt to handle any exceptions, etc, etc, etc.
Generally, it's not that these people even understand how bad their code/designs are. Yes, there are occasions where somebody understands that (sometimes with "this feels wrong, couldn't figure out the right way, here's what I'm trying to do"-type comments), but that's the exception to the rule.
Thus, most people will think their code is just fine, because it kinda-sorta works given the exact right conditions.
I kid you not, I worked on someone else c# code base that was trying to run dependence injection at every level, everything was an interface, even if there was one concrete class implementing the interface. I mapped one API call through 14 layers of calls to get to the root code that was hard coded to return "True" (not a bool, but a string).
It would take me hours to find where the call's implantation wound up. The project solution consisted of 60+ DLL projects, some of which had no code and was only a stub out for an interface implementing another interface referenced in another project.
every function had a try/catch with a logger that did not log the error or any variables, just the function name where the error occurred and a time stamp, nothing else. so when you have say 10 functions called "Update" in each of the 60+ projects, which one did it crash on, and why?
tried to map it out, gave up after a week. Hair pulling time.
I ended up moving on to a different company. apparently I was eventually going to be the main dev for that code base, so the dev that wrote it could work on higher level ideas, and that's when I knew I had to move on.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
It muskie reely difficult to salmon these thoughts so often.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Nothing that we were doing was illegal. As the youngest developer on my team, I was making good money for my age. And in the end, I understood that the real purpose of the site was to push a particular drug. So, I chalked this tactic up to “marketing.”
The client was extremely pleased with the site. So much so that their rep invited me and the entire team out to a fancy steak dinner.
The day of the dinner, shortly before leaving the office, a colleague emailed me a link to a news report online. It was about a young girl who had taken the drug I’d built the website for.
Then weapon manufacturers should be REEEEEAAAAAALLLLLLLYYYYY ashamed.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
I offer you a piece of logic for your consideration:
Suppose there were no weapons - sounds like some sort of panacea?
Well, if you're the big guy, things are great. If you're the little guy he uses for his own version of Dwarf Tossing - you're pretty much screwed.
There's an old saying and it's not without some important truth:
"It was god who created man but Colonel Colt[^] made them equal."
Don't think I'm downplaying the daily unspeakable horrors that weapons have caused and are causing as I write and as you read.
Weapons just change the paradigm: the biggest guy isn't going to be the ruler by mere accident of birth. Now the guy with the biggest gun, or with the friends with more and bigger guns, . . ., oh sh*t - we're right back to hear and now.
No weapons? That's not a choice. Not since Cain killed Abel.
Not a fatal one, but this is something which one of my fellow students did in our grad school.
In the final project work, he had hard-coded the inputs inside the code, so that whatever inputs the user gave on the screen, the code would always provide the same output with minor variations, so that it looked different each time.
And now, he is in a very senior position in a large company.
I have rejected several job offers just because they came from companies in industries I do not wish to support, for this very reason...
It can come sneaking up on you when you're already employed, of course, but so far I've been lucky enough to avoid that...
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
modified 31-Jul-20 11:56am.
Last Visit: 31-Dec-99 19:00 Last Update: 2-Mar-21 13:32