Category: best practices

Untangling Spaghetti Code: How to Write Maintainable JavaScript

Almost every developer has had the experience of maintaining or taking over a legacy project. Or, maybe it’s an old project which got picked up again. Common first thoughts are to throw away the code base, and start from scratch. The code can be messy, undocumented and it can take days to fully understand everyth...

Defensive Programming in PHP

Finagle’s Law of Dynamic Negatives: Anything that can go wrong, will – at the worst possible moment. What Does “Defensive Programming” Mean? Defensive programming, simply put, is programming with the intent to anticipate likely failure points. The goal is to circumvent those likely problems before they oc...

Labels: Managing User Expectations

Users have expectations — it’s surprising, I know. Users expect a button to perform an action: submit a form, open a new page or edit content. No discovery needed, this user expectation is pretty standard and not limited to the digital world only. As a designer, this user expectation is pretty simple to create...

A Great UI is Invisible

A really well designed user interface is one that goes unnoticed by the user, whereas a poorly designed user interface forces the user to pay attention to it instead of the content. Users come to websites in order to achieve a goal: buy a new book, learn about jQuery, share an article with friends, find new music, wri...