http://qs321.pair.com?node_id=1207893


in reply to Singleton Design Patterns and Naming Things

I can guess at the Programming Language That Shall Not Be Named, but that doesn't really matter.

After learning several other languages, and running into TIMTOWTDI, I realized that Pascal should be "TMBOWTDI" (aka "There Might Be One Way To Do It"). I suspect you're not talking about Pascal.

I liked Pascal, as a learning language, for it's explicit structure. In school, if a program compiled, you were nearly done. With Programming Language That Shall Not Be Named, a successful compile means almost nothing.

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re: Singleton Design Patterns and Naming Things

Replies are listed 'Best First'.
Re^2: Singleton Design Patterns and Naming Things
by papidave (Pilgrim) on Jan 26, 2018 at 00:56 UTC
    There are, alas, many programming languages may fit the anti-TMTOWTDI paradigm. You may have a different language in mind when I say Language That Shall Not Be Named; the one I was actually thinking of is interpreted, not compiled.

    I learned Pascal in 1983, and at the time it was a huge improvement over BASIC -- I could write structured (read: non-spaghetti) code in a human-readable language that did most of what I wanted (the key exception being that I couldn't take the address of a variable on the stack). Learning Pascal made me a better programmer.

    I cast off Pascal for C, however, finding it more powerful and more empowering -- and when my work in C led me to X11 and Xt, a whole new world of object-oriented programming was opened up to me. I don't recommend either of those languages today, but knowing them improved my code. The biggest changes to my programming since then were triggered by C++ and Perl5 -- both languages that allowed me to use built-in features to do things I already wanted to do, but easier. Hash-indexed variables, I'm looking at you: thank you.

    Other languages I have worked with over the years (including SysV shell, FORTRAN, Lisp, and Python2) haven't ever caught my fancy like Perl did, but each in its own way colored my experience in ways that have improved my Perl code.