Readability vs. Speed
This lesson discusses a potential problem that arises when you use NumPy library.
Before heading to the next chapter, I would like to warn you about a potential problem you may encounter once you’ll have become familiar with NumPy.
It is a very powerful library and you can make wonders with it but, most of the time, this comes at the price of readability. If you don’t comment your code at the time of writing, you won’t be able to tell what a function is doing after a few weeks (or possibly days).
For example, can you tell what the two functions below are doing? Probably, you can tell for the first one, but unlikely for the second.