Categories
Tech

Writing Effective Unit Tests

You’re patting yourself on the back, proud of the code you’ve just written for a cool new feature. You’re itching to add it to your organization’s repository and see customers use it as soon as possible, but you can’t. You now need to write a bunch of unit tests that meet your organization-mandated “code coverage” level. You begrudgingly sit down and start to hammer out the tests, thinking, why? “I’ve already written the code, why do I have to go through this bureaucracy?”

In this post, I’ll discuss what unit tests are useful for, why they can seem so annoying to write, and how to write them more effectively.

Categories
Tech

Towards Systems Integration

Google. Apple. Amazon. Facebook. Microsoft. They all market directly to consumers. However, their consumer products, especially when free of cost, can be supported by high-value business models for enterprises. For example, AWS is a major cash cow for Amazon, and in general, businesses pay big money for enterprise tech for later payoffs due to the increased efficiency. Additionally, innovation in enterprise tech has a positive developmental feedback effect on consumer tech, whereby production processes can be improved and form compounding sequences of “improving improvements”. Enterprise tech thus produces fundamental value for enterprises and consumers alike.