3 ms·
You shouldn't underestimate the importance of example code. A nice, compact hello world example would help. I didn't see any example on the parent (I'll admit
by joe_the_user 16y ago
You shouldn't underestimate the importance of example code.
A nice, compact hello world example would help. I didn't see any example on the parent (I'll admit I skimmed). A nice example of being able to something fairly complex in a clear, simple fashion would excite me.
The size of the Java hello world program made me nauseous every time I've looked at learning it.
There was a thread a while back about how much patience people doing BS activities. Not only do I have little patience with wasted, I tend to think that intelligence correlates with not wanting one's time wasted.
If you can show me a language which is clear and won't waste my time, I'll love. I love Ruby (though it's just too buggy to use for serious programming still).
- pjonesdotca 16y ago99% of my work over the last several years has been with Ruby working within and without Rails in everything between FXRuby apps to Realtime Rails reporting systems. Please provide an example of your case that Ruby is "just too buggy for serious programming". thanks.
- joe_the_user 16y agoOK, maybe buggy wasn't the right word. Maybe, "sloppy and ill-defined" - the only Ruby spec is the implementation of Ruby. Maybe, "main implementation problematic" - the main Ruby VM never gives allocated memory back to the system - it garbage collects and keeps it for further allocation. That means that if you copy a 1 gig file, your Ruby instance allocates a gig and keeps it forever (one of the Twitter people described to me his horror at discovering this - two years ago!). That's why its standard to kill Ruby instances after a while in most large Rails installations. Tell me those problems and problem like them are solved and I'll look at Ruby again. It's a beautiful language, the nicest syntax and approach I've seen.
- pjonesdotca 16y agoThanks for answering. Not sure how to address your concerns except that #1 is sort of pedantic. #2 is an interesting issue. Is this true of all versions (jruby, rubinius included) or just the MRI?