The Daily WTF When discussing ternaries, we also have to discuss readability. While short and concise, they’re in some ways too compact.
The Daily WTF “Grocery stores are going too far with their energy foods” charged Tim DG. “I was just looking for some salads to
The Daily WTF “Grocery stores are going too far with their energy foods” charged Tim DG. “I was just looking for some salads to
The Daily WTF We all know that building SQL queries via string concatenation, and then sending them to the database, is just begging for fragile
The Daily WTF Many years ago, Sam was obeying Remy’s Law of Requirements Gathering (“No matter what your requirements actually say,
The Daily WTF One of the first things anyone learns about object oriented programming is the power of inheritance and overriding functions.
The Daily WTF One of the clients for Rudolf‘s company was getting furious with them. The dev team was in constant firefighting mode. No new
The Daily WTF Daniel D. humblebrags that he can spell. “Ordering is easy, but alphabet is hard. Anyway for this developer it was. Can
The Daily WTF There’s nothing inherently wrong with the ternary operator. It’s just the kind of thing that gets abused. Now, we all
The Daily WTF “Dark Horse” inherited some PHP code. They had a hundred lines to submit, but only sent in a dozen- which is fine, as