Mark Bowytz

Besides contributing at @TheDailyWTF, I write DevDisasters for Visual Studio Magazine, and involved in various side projects including child rearing and marriage.

Dec 2014

Classic WTF - One Bad Ternary Operator Deserves Another

by in Representative Line on

Last day of 2014 means it's time to check out another year-end "Best Of WTF" article from earlier this year. Enjoy!


Personally, in all my years of application development, I have had zero use of ternary operators.


Classic WTF - Sweet Mysteries of Life

by in Coded Smorgasbord on

Check out a Classics republish of one of our most read articles from 2014. Enjoy!


When you read a lot of bad code, you start to get a sense of why the code exists. Often, it’s ignorance- of the language, of the functional requirements, of basic logic. Sometimes, it’s management interference, and the slavish adherence to policy over practicality. Other times, it’s just lazy or sloppy work.


Classic WTF - Line by Line

by in Feature Articles on

To close out the year, enjoy one of our popular articles from 2014. Happy holidays!


In the bowels of a business unit, a director got a great deal on a third party software package. He bought it, without talking to corporate IT, and then was upset when it couldn’t gracefully integrate with any of the corporate IT assets. Eager to throw good money after bad, the director hired his nephew’s consultancy to build an integration tool to make his new toy work.


The World's Worst Battery

by in Error'd on

"Maybe I need to order a generator with this one -- just in case I want to finish booting up the machine!" writes Matt R.


It's Christmas Day - Take a Break!

by in Announcements on

Seriously? Why are you reading this. Go do something with your family or your friends. There are more important things today than the internet.

Y Christmas Tree 2


Classic WTF - The Fizz Buzz from Outer Space

by in CodeSOD on

To close things out for 2014, we're re-running our most popular articles. Without further ado, enjoy one of our most popular; this one originally ran in September.


Matteo recently interviewed a candidate that was employed elsewhere as an “architect”. His responses to the standard soft-skills questions sounded a bit rehearsed, which made Matteo suspicious, so he started asking some more technical questions, like: “What’s the difference between an interface and an abstract class?”


Metro Card Jackpot!!

by in Error'd on

"I really need to look into a cash-out option," writes Alvin.


A Perfect 10

by in CodeSOD on

two-hands-equals-10-fingersAndrew found this code on the product pages of a fairly popular automotive e-commerce website. It's called whenever an 'attribute' of a product (size, color, etc.) is selected or changed by the user.

The main focus of this code is to update a concatenation of the values of all currently selected attributes which are stored in a hidden form input field. Once it has done that, it hands off to another function to make an AJAX request with this concatenated value as a parameter.


Good Help is Hard to Find

by in Error'd on

Daniel writes, "Looking for world class talent? Sorry...you won't be finding it here."


You Can't Fire Us Until We Quit

by in CodeSOD on

When one of Felix G’s newest design customers decided that they were officially unhappy with their current web-agency, another company's loss was his gain.

His first assignment was a simple one - remove the code that displayed the website’s creator credits (something like 'developed by xyz') from an external website.


We're Not in Kansas Anymore

by in Error'd on

"After signing up to search for jobs at Comcast, I check out their locations map and wondered when Nebraska annexed Kansas," Herb wrote.