Category: Apps

Lean Code – Part 2

Our article on “Lean Code” strongly suggests that the principles of lean can also be applied to the realm of software development, applications, and more specifically, programming.

Python has evolved to become a very popular and powerful programming language.  However, as mentioned in “Lean Code“, the performance of your application or program is as dependent on the skills of the programmer as they are on the capabilities of the programming language itself.

An example of skill versus language can be found in “Python for Data Science – For Dummies – A Wiley Brand” by John Paul Mueller and Luca Massaron (ISBN:  978-1-118-84418-2).  Page 106 of the book states:

It’s essential to realize that developers built pandas on top of NumPy.  As a result, every task you perform using pandas also goes through NumPy.  To obtain the benefits of pandas, you pay a performance penalty that some testers say is 100 times slower than NumPy for a similar task.

The functionality offered by pandas makes writing code faster and easier for the programmer, however, the performance trade-off exists for the end user.  Knowing when to use one module over the other depends on the programmer’s understanding of the language as opposed to simply providing a specific functionality.

Python for Data Science provides sufficient information to decide the best fit case for either pandas or NumPy.  The relevance of sharing this is to stress the importance of continually reading, learning, and understanding as much as possible about your language of choice for a given application.

From the end user’s perspective, performance matters and everyone wants it “yesterday”.  So, the question is, “Do we code quickly and sacrifice performance or sacrifice delivery for quick code?  What would you do?

Until Next Time – STAY lean!

Versalytics - Logo (293x293)

Related Articles / Books:

 

Advertisements

Leadership – Get Thirsty …

Horses drinking from a fountain in Central Park
Horses drinking from a fountain in Central Park (Photo credit: tiseb)

We are likely to find as many definitions for leadership as there are leaders. I recently downloaded an excellent app titled “Leadership Development” from Apple’s App Store and this definition of leadership was presented in one of the many videos:

“Leadership is the process of influencing people by providing purpose, direction, and motivation to accomplish the mission and improve the organization.”

ADP 6-22

While the expression, “You can lead a horse to water, but you can’t make him drink,” may be true for some, true leaders recognize and understand the value of making the horse thirsty enough to want to drink on his own.

Your feedback matters

If you have any questions, comments, or topics you would like us to address, please feel free to contact us by using the comment space below or by sending an email to LeanExecution@Gmail.com. We look forward to hearing from you.

Until Next Time – STAY lean

Vergence Analytics