Big O state of mind

I build meaningful software by empathising with design, development and business needs. My interests are test automation, functional programming and full-stack web development using NodeJS and other tools.
Search for a command to run...

I build meaningful software by empathising with design, development and business needs. My interests are test automation, functional programming and full-stack web development using NodeJS and other tools.
No comments yet. Be the first to comment.
Being able to safely refactor code is one of the greatest benefits of writing tests. The goal of refactoring is to improve code design e.g. style, design patterns, performance. Let's take an example from the previous route handler which has already b...

Marginal gains ⚙️ The 2020 Summer Olympic Games were held in Tokyo between 23 July and 8 August. The enduring motto of the Olympics is “Faster, Higher, Stronger”. From 1908 to 2003 the British cycling team won only 1 gold medal at the Olympics. This ...

This is a scenario that took some time to understand. I could see errors in the browser but everything on the server seemed to be configured correctly. The problem was, that when a request was made by the browser, the server handling the request made...

Florida and Minnesota each developed their Statewide Automated Child Welfare Information System (SACWIS). In Florida, system development started in 1990 and was estimated to take 8 years and cost $32 million. As Johnson spoke in 2002, Florida had spe...

Why a health route? I want to begin with the end in mind. When our API is deployed in a cloud environment, the automated, cloud deployment will need a way to know that our API has started correctly. That is the purpose of the GET /health route. I hav...

I grab the mic and jump up to the right as does my asymptote. I never run more than once, man, 'cause to quote, “Overruns become the source of overflows”. Within the walls of operations, Big O is defined.
We conceive of memory and time, in a Big O state of mind.
Does the CPU have the juice? The clue is in the queue if you don’t want to lose out to complexity in a while do { }. Be in a Big O state of mind.
What more could you ask for? When I, operate in constant time? If you complain about how big the data is, this algo loves it though. It goes like a pro, "Go go gadget!", to the beat of the algo rhythm.
When I'm recursing I bless the call stacks and tail call optimise them. Sprinkle some holy water, cross the compiler, O(log)N is my bridge over disordered waters. Double the input and it only needs one more step over.
Linear takes one pass, but X squared is to be feared. Cubic? Exponential? Deadlock is what they deserve.
Yeah, yeah I'm checking the space-time.
And I'm gonna move the perf line.
Yea, yeah, I’m in a Big O state of mind.
Inspired by Song lyrics generator