cat brain.log | less

Getting it down on `paper`

1 Week of Python

Aaaahghhhh! I’m frustrated. Why are all the Python books on Amazon rated as nearly 5 stars when, after reading or skimming them, they don’t deserve more than 3? None of the books I’ve encountered are even half-decent for a professional programmer. They gloss over the implementation details and get into niche topics with poor programming form and typographic format.

[Humble edit] To the authors of these books (or any book for that matter), I realize there is a ton of effort that goes into writing any book, especially those of a technical nature, and I sincerely appreciate your efforts. However, if you are the author of a book that simply copies the Python documentation and adds a few half-baked examples, then you are who I’m talking to. I’m also talking to the authors of so-called “advanced” Python books who have very poor programming style.

Ok, end rant 1.

What’s with the syntax? Everything looks like a GOTO: statement. Rule #1: No GOTO. It’s ugly and feels dangerous. Let’s not forget to mention the (one_element_tuple,) language artifact. I get it, but it’s ugly. /rant2

NumPy: Excellent and essential tool for data arrays. The strength of interpreted languages is rapid development. NumPy saves Python from the greatest weakness of interpreted languages: numeric operations on large arrays. This is the only reason to use Python IMO.

SciPy: I don’t know where this fits in yet, but I’m sure they’ve created highly specialized modules for various scientific fields, just like MatLab has created … whats the word… toolboxes? for various industrial sectors.

Python 2 or 3? 2. Until NumPy supports v3, I wouldn’t even think about it. Python is just too slow on its own… for dealing with arrays of numbers, that is.
EDIT: Yay! Python 3 support

Please, if there is one good Python book for programmers that involves numeric processing of millions to billions of data points, please speak up.

I with to retract my unbridled like for the language. Please replace that an appreciation for NumPy and interpreted languages.



No comments so far.

(comments are closed)