Readable code tips: Extract complex conditions
Refactoring complex conditions to make them more readable and easier to work with.
Creativity, curiosity, and code
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.
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.
This time it's a static-file-driven, mobile-app-like blog. And the tooling I made should be usable on any simple WordPress blog! But... WHY???
There's a lot going on right now and I've been having a lot of thoughts about what is going on. In some cases I think I've expressed these thoughts well. In other cases, other people have expressed things that have helped me. Here are some quotes and thoughts...
This AI tech is amazing. And works so well when aiding humans rather than replacing them. But gosh I can see how it breaks the web.
It seems upside-down, but sometimes when you're at the bottom of the pile, you can see a whole load more looking back up! And there's opportunities for programmers here.
I now have a process that gets me small, fast, side-project websites for virtually zero cost. Let's see how it works...
The web used to be fun and simple and easy to get stuff done with. Now it's discovering that someone who doesn't know what they were doing used a div instead of a button and fixing it involves half a day of frustratedly poking around files that make no sense and fixing a broken build process.
Turbo Admin features to be in WordPress core! 🙌 The WordPress Gutenberg Phase 3 announcement is very interesting for me. Why? Because it will be disruptive for my Turbo Admin plugin/browser extension. An admin redesign is in the works which, especially if done in React, may make Turbo Admin impossible to run. Fortunately they are also considering […]