Opinion

Comments

I’m thinking about starting to write more opinions in this space. If I do that, I will be disallowing comments, and I want you to understand why. The internet is an amazing place where everybody can share their ideas and hear those shared by others. This is a welcome advancement, Read more…

By kryptx, ago
Opinion

Is this comment worth maintaining?

I think it's pretty interesting that, early in our careers as young budding software engineers, we are told that "write comments to explain why -- not what -- you are doing", and I, at least, have never really challenged or evaluated that bit of wisdom. I think it would serve us well to better qualify this by attempting to engineer what a comment should do. (more…)

By kryptx, ago
Opinion

Unit and Integration: in harmony

I like unit tests for testing my web services. They're fast, and they give me confidence that a little bit of code does what I think it does. I like integration tests for testing my web services. They test the way my pieces interact with each other in ways that unit tests can't, and give me confidence that my app behaves correctly in general. (more…)

By kryptx, ago
Opinion

Besides, why is it unpronounceable?

I’ve spent a fair amount of time both authoring and consuming RESTful APIs that adhere to the HATEOAS constraint that has become so popular lately. An acronym for Hypertext as the Engine of Application State, it typically means that the API provides hypertext links for clients to navigate their structure. Read more…

By kryptx, ago
Opinion

Further commentary on PHP Frameworks

Recently I had a discussion with a colleague about the relative merits of using a popular, established PHP framework such as (but not limited to) CakePHP to accelerate application development and maintenance. As a follow-up to my previous post -- specifically point #2, and to fully flesh out my thoughts on the matter, I'll enumerate as thoroughly as possible the reasons I have chosen not to use such a framework in my projects to this date. I'm going to be using CakePHP in this example but most of them are similar in nature. Before I explain what I don't like about these MVC frameworks, though (aside from "code that reads like a sentence"), I should state how my personal framework differs from theirs. (more…)

By kryptx, ago
Opinion

“Clever” Coding Practices I Would Rather Avoid

I've noticed a trend lately among web developers. Certain practices are considered to be acceptable or even preferred, despite the fact that they yield no significant actual benefit to either the developer or the end user, and in fact often constitute at best inconsistency among the developer's practices, and at worst, a complete bastardization of the language in question. (more…)

By kryptx, ago
Opinion

Why I switched back from OSX to Windows 7

About 14 months ago, I purchased a MacBook Pro at the Apple store. I was travelling and needed to be able to do my work on the road, and had little to no experience with OSX. I figured this would be a good way to learn more about the OS and how it differs from Windows. Immediately there were a lot of things that I liked and a lot of things that I didn't like so much. In the short-term, it was easier to focus on the things I liked, and even today I do have a positive overall perception of OSX. However, it's my firm belief that the job of an operating system is to get the hell out of the way of the user, a requirement which I think OSX fails to meet in a number of areas. (more…)

By kryptx, ago