For years, I’ve been saying that *knock on wood* … I’ve never had any kind of RSI. That’s no longer true. I have Cubital Tunnel Syndrome. Cubital Tunnel Syndrome affects the ring- and little- fingers and the severity can range from some slight tingling to extreme pain and near paralysis of these fingers. Unfortunately, I […]
Should We Avoid Ternary Operators?
I recently read a Facebook post which suggested it was better to use a ternary operator instead of an if…else statement whenever the result would be a single line of code. That doesn’t seem right. I’ve noticed this trend toward shorter, smaller code, and I understand the appeal. If I can do in one line […]