Readable code tips: Don’t inline everything!
There is a balance to be found between "inlining" multiple expressions, and using temporary variables. You may also learn about short-circuit evaluation here!
Creativity, curiosity, and code
# you @ rosswintle.uk
There is a balance to be found between "inlining" multiple expressions, and using temporary variables. You may also learn about short-circuit evaluation here!
Refactoring complex conditions to make them more readable and easier to work with.
You kinda have a relationship with code from your projects. You probably have feelings about it. As I've been thinking about code style, I've also been thinking about how it's important to build up trust in a code base.
What if we were in some alternate universe, considering moving FROM battery EV's to petrol/diesel-powered transport? What would our objections be there?
Poor code readability slows us down. So I'm going to post some of my code-readability tips! This is an introduction with the ideas behind it and all the caveats.
A super simple asset-watching script and "LiveReload" functionality. All fitting with my values. Let's see what it looks like!
I’m having a lot of fun building small, static web apps. And there are certain principles I’m trying to stick to as I do it. Let’s see what they are… What is a manifesto anyway? As I started writing this, I asked myself: “Is this actually a manifesto? What is a manifesto?” But the definition […]
Regular readers will know about my love of simple, static-hosted, web-based apps that are easy to build and maintain, and free to host. But they are held back by the lack of dynamic data. Sure, you can store data in local storage, but what if you want to share data between browsers? Is there a […]