The Art of Coding

September 26, 2019

To excel in any kind of art you may use an infinity of materials, technics and tools to woven a final product. Some may study their craft their whole life in order to not only improve themselves, but also to create new materials, technics and tools to be used by forthcoming generations.

To bake something as simple as a bread you need to choose the right wheat or even mix several kinds to make an unique blend. To ferment a dough, some breadmakers may use their own levain grown to perfection for years, others will use yeast, and some may even use baking powder. Then the breadmaker needs to work their dough spending hours shaping and reshaping and infusing it with herbs or other additives. Some bakers choose to not work their dough at all, and their final product will be an entirely different type of bread. For some, the final step is to bake their dough into a bread, but even for that there are many choices to make. There are those who will bake in wood ovens, others in iron pans. You may think it’s obvious that temperature plays a crucial role, but did you also know that air humidity inside the oven has a say in the bread’s crust?

Coding is no different. The programming language you’ll use may change for each problem you’re tackling. It might make sense to build a web application, or maybe an embedded system, or even a custom hardware for a specific appliance. For each of these nodes in your decision tree you may expand into different types of frameworks and tools to aid the construction of your final product.

Those who master the art of coding are artisans. Craftspersons with thousands of hours of learning, creating, tweaking, teaching, learning again… Writing code that works isn’t easy. Writing beautiful code that works is even harder. If you care about legilibilty, documentation, succinctness, then you’re probably writing beautiful code. Those who simply don’t care about any of that will hardly show interest in learning their tools and technics to the core. They won’t care about improving their own skill, let alone the machinery they use.

The ones who care, the artists, they’ll learn their craft to the bone and turn it upside down. They’ll create stuff you’ve never seen before, maybe even thought impossible. Not only they’ll make what others won’t dare, as they’ll make it beautiful to those who can understand it. Be an artisan. Know your tools. Play with them. Use them. Improve them. Practice. Break it. Fix it. Practice again. Share your knowledge. Mentor an apprentice. Share your greatness.

Turn your everyday practice into an artform.

Rendering enums in SwiftUI

Enums are an excellent way to leverage Swift's value-types and immutability principles for handling states. Imagine you have a view that …… Continue reading

Using native and non-native animations together

Published on November 11, 2019

Rogue Bit 🕹

Published on October 31, 2019