What's the point of unit-tests

Unit tests are like QA, backups and disaster recovery; you don’t need it until you need it

Unit tests are good; that’s the accepted truth and you won’t find many developers that disagree with that statement. Yet we live in a world where there are projects running in production that don’t have unit tests. In fact, having crap tests, like having unmaintained documentation, is, in any reasonably complex codebase, arguably worse than having no tests at all. What then is the point of unit tests? Subjectively, I find that unit tests can be used as a measure of understanding what you’re trying to deliver.

Migrating to MacOS for work

Some annoyances; a different kind of friction; ultimately a bit meh

I’m a long time Microsoft DOS/WFW/95/NT/2000/XP/Vista/7/10 user on the desktop; I can make it sing and dance exactly to my tune. Where other people complain about Windows, or get frustrated by it; I never have a problem. Now, Windows isn’t perfect, far from it, but it’s a basically a tool that causes me minimal friction, letting me get on and solve interesting problems; I don’t use it in production, just for my desktop. Last summer, I got so annoyed with the corporate build of Windows 10 that I submitted a requisition for a Macbook Pro; I’m not actually sure which model it is, but it has a touch bar and 16Gb of RAM. Now that I’ve been using it for about 5 months I thought I’d jot down my thoughts about the transition. My last long-term experience of the Mac was back in 2007/2008; does it create more or less friction a decade later?

Stop overthinking it

You’re about to embark on a new project; the business has specified what it is they want, and now it’s up to you to build the thing. Often the business can’t articulate what it is they want, or they know the destination, but they can’t see how to get there. The technical team needs to get them to a better place than where they are right now. The working software over comprehensive documentation statement from the agile manifesto doesn’t really address the nuances of how most businesses are; but it leads us to an important point.

Language is not the barrier

Learn to type, and remove the friction between you and the computer.

Finding the right tool and language that allows you to express yourself in code isn’t an easy thing. There have been multiple tools and frameworks developed because the existing ones weren’t productive, even computer languages created for the same reason. For me though, learning to type is one of the things that allows me to be productive regardless of the tool or language. Once you’ve learnt the syntax of the language; you still have to transcribe your thinking into the language, and into the computer.

Pagination


© all-the-years. All rights reserved.

Powered by Hydejack v9.2.1