On Tue, Jul 7, 2015 at 8:00 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
Thanks Buck - nowhere near as scary as some of the code Hans Bolt used to try to convince me of Python’s virtues many moons ago.
Now I'm curious to see some of that code from Hans. ;) (I actually did
a little searching on the midrange.com archives, but didn't turn up
anything other than general discussions.)
I expect that if someone showed you "scary" Python code, the point was
to illustrate how big a difference there is in the expressive
capabilities between Python and RPG. Some things (such as object
oriented programming, as you've mentioned) are extremely cumbersome to
express in RPG, to the point that they are basically impractical. (OOP
in C was also not exactly a breeze; and that was of course a primary
motivating factor in the creation of C++.)
But as Buck has reminded me several times, it's often better to start
from what's easiest to relate to, not what's most "impressive".
And that is an area where I think Python shines. I think it's about
the same or better "accessibility" as PHP, so you can really just ease
into it. And then as Justin said, if and when you get more comfortable
with the familiar, you can gradually expand into the more advanced
features of the language.
John Y.
As an Amazon Associate we earn from qualifying purchases.