5 ms·
I'm going to sidestep ranting about ranting about ranting about Ruby. The linked article seems very common-sense to me. But then, I never was much of one for eg
by LogicHoleFlaw 18y ago
I'm going to sidestep ranting about ranting about ranting about Ruby. The linked article seems very common-sense to me. But then, I never was much of one for ego-contests. I did however find something worth discussing in the blog post. Let me quote:
For myself, I’ve been learning to program with a language that doesn’t make me want to cry. I remember doing C++ and Java homework in CS classes in college; I do believe I have post-traumatic Java syndrome. It’s unbelievable even to me that I have dared to get into programming again. But Ruby is making it easy; even fun. I’m happy to code with it, and I’m happy to be enjoying the amenities of the lifestyle it has provided for us.
These sorts of experiences give me hope for the future of this profession. I firmly believe that the culture of good ol' boys' clubs and bondage-and-discipline programming languages are fettering access to the minds and talents of too many promising individuals. It's a crying shame.
- timr 18y ago"These sorts of experiences give me hope for the future of this profession. I firmly believe that the culture of good ol' boys' clubs and bondage-and-discipline programming languages are fettering access to the minds and talents of too many promising individuals. It's a crying shame." Oh, geez. Melodramatic, much? I know it's antithetical around these parts, but I like C++. If you want to talk about beauty, there's beauty in OO design. There's beauty in type safety. And there's most definitely beauty in a language that will make correctness guarantees at compile time. But then again, I've been using C++ long enough to have some perspective. I remember when Java was the silver bullet; now it's Ruby. This too shall pass. Most of the complaints that I hear about C++ come from inexperienced programmers, and most of those complaints boil down to "I don't understand it". That's fine, and to be expected -- I didn't understand anything either, when I first started. The tragic mistake comes when you begin to assume that type-safety, encapsulation, access control, and other "bondage-and-discipline" features of the language were put there simply to make your life more difficult. There were (and are), talented C++ programmers, and I think it's possible that some of them know what they were doing.
- LogicHoleFlaw 18y agoI'm not railing against type-safety, compile-time guarantees, encapsulation, or access control. In fact, I use them every day. I think haskell is pretty neat! And you can definitely get stuff done in C++. I'm not arguing against any of those things. What I am saying is that in the rush to create the best engineering solutions, we have forgotten how to make programming approachable to the newcomer. Even people with aptitude and inclination get discouraged, if not by the technical stumbling blocks of the language they are using, by the unfriendly culture which has surrounded the craft. Even children can write simple English. They aren't discouraged from reading and writing because they aren't great novelists. Good teachers try to teach the fundamentals and instill both the technical capability of writing and the joy of reading. Current CS pedagogy fails utterly in this regard. Early students spend so much thought on extraneous things like public static void main and pleasing a compiler that little attention is left to see the beauty in the theory and practice of computation. The lack of a decent REPL or any useful interactive introspective techniques make C++ and Java particularly awful for teaching introductory computing concepts. Ruby is much more friendly on that level, as are many other languages. Look at projects like _why's Shoes or some of the things being done with Squeak. Look at the volumes of hackers who cut their teeth on things like BASIC. Look at how many industrial-strength best practices we can bypass while still teaching the fundamental joy of programming. Nintendo's Shigeru Miyamoto, designer of many key gameplay concepts we now take for granted, was once asked in an interview what the fundamental concept behind his games is. He replied that the fundamental nature of a video game is that you press a button and something happens on the screen. It sounds simple but cuts through to the heart of the matter. Similarly I think that the fundamental appeal of computer programming is that I type something in and the computer carries out my wishes. The love of programming is something that seems to come to people only by happenstance these days. If a language like Ruby can help more people to discover that love then more power to it.
- davidw 18y ago+1. Reminds me of this:-) http://www.welton.it/articles/scalable_systems/ http://www.welton.it/articles/scalable_systems/ I should rewrite it though... it's kind of crufty.
- 18y ago
- jbm 18y agoGreat eye to notice that - I remember the same sort of nightmares with C++ (not so much Java). Bottom line is that things are getting much better these days.
- thomasmallen 18y agoA promising individual will seek out a more expressive language if that's what they're looking for.
- LogicHoleFlaw 18y agoA promising individual may not even know that more expressive languages are available. The onus is on us as knowledgeable teachers to show newcomers the world of possibilities.
- thomasmallen 18y agoI promising individual does not have unwavering trust in their teachers and accepts that the knowledge being passed on is likely flawed or incomplete.