Class Library – Code Optimisation

Working 😎

With a great start to the morning already, it's time to turn to this latest awesome release by Work Music Lab who always bring the chill work goodness, while I catch us up real quick on the latest steps through the MOOVPAD projects 🙂

22-06-25-01

Code Refactoring

The term 'refactoring' is what the real experts use to define optimising code. But since I'm E, you and I will stick to 'optimising' to keep things nice and simple, yeah?

The capture to the left shows one example of this in an object used to make some of the basic calculations, so nothing too fancy about this class, it's just a regularly used one.

Through this one class, I've managed to save around 75-80% of the coding steps, which will likely save around 1-1.5 seconds on the client-side processing time for physiologic assessment calculations. Firstly, I know this might not sound like a big deal at first, but think about the UX improvements if the same kind of savings are made in more places. And second, what happens if these kinds of time savings and efficiency improvements are compounded when the 3D UI comes into play? Starting to make more sense yet? 😉

One coding session done. Now a short break and then back to it for the next block.

Stay awesome,

EMH

Screenshot from 2022-05-15 20-02-32

I AM #LAME7