Failure To Grasp Polymorphism

I've cataloged a third specific case of fundamental failures to understand polymorphism. The first two I've seen a fair number of times. The third seems to be more rare.

1. "How do I determine which subclass an object has?" The Identification problem.

2. "How do I morph an object to …

more ...




That's odd -- Python faster than Java

Here's an amazing Stack Overflow question.

The follow-up conversation is great stuff.

The question shows two versions of approximately the same processing. Python is faster than Java. That's unexpected.

Java has static compilation and the hot-spot translation to machine code. Apparently, Python has some optimizations that are just as valuable …

more ...

Semantic Markup with Docutils Interpreted Text Roles

A resume is a slippery thing -- a package of semi-structured data.

It has a kind of database-like feel to it, but there are so many exceptions and special cases that the database never works out quite the way you wanted.

For example, I've got -- essentially -- one employer over the past …

more ...



Ways to Crush Innovation

Check this out: “Why should I bother?”.

All organizations have an “Official Technology List”. I work “Enterprise IT”, where the official languages are limited to Java, VB .Net, C, C++. After that... well... it may as well be Esperanto or Whitespace.

PHP, for example, is near the top of the …

more ...

All Those TODO's

About a year ago, we started out doing Python development with simple rst2htmldocuments for requirements, design, etc. In the code, we had comments that used epydoc with the epytextmarkup language.

No, it wasn’t confusing. Free-text documents (requirements, architecture, design, test plans, etc.) are easy and fun to …

more ...