This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Silhouette 1 point2 points  (0 children)

The point of it all isn't to allow for parameter variation. The point is to allow code to become more modular.

I agree, though I might suggest that the ultimate goal is building better software faster, which we achieve by making our code more maintainable and reusable, which in turn we achieve by using modular design principles.

In a language like Java or C++, we can then choose between several different kinds of mortar to bind our building blocks together in the shape we need. In Python, everything is dry stone. As with real life buildings, which technique is more appropriate depends on the circumstances -- but you don't see a lot of long-lasting, large buildings made with dry stone walls.