The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Ruby code get simpler over time

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Adam Green

Posts: 102
Nickname: darwinian
Registered: Dec, 2005

Adam Green is the author of Ruby.Darwinianweb.com
Ruby code get simpler over time Posted: Jan 4, 2006 8:10 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Adam Green.
Original Post: Ruby code get simpler over time
Feed Title: ruby.darwinianweb.com
Feed URL: http://www.nemesis-one.com/rss.xml
Feed Description: Adam Green's Ruby development site
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Adam Green
Latest Posts From ruby.darwinianweb.com

Advertisement
I've noticed an interesting phenomenon with my Ruby code. The more I work on a program, the simpler it gets. I don't mean more terse or dense. I mean cleaner and easier to read. Perl, on the other hand, seems to get more unreadable the better you get at programming in it. This is largely a matter of gradually learning the Ruby language. I know I keep harping on this, but the existing documentation is insufficient. I keep the pickaxe book and Fulton's book at hand and keep reviewing them, but I'm constantly finding things that they don't cover. Another problem is the large number of similar methods for many common classes, like Time. It forces me to experiment with many variations until I find the shortest path. Once I do, however, the code suddenly starts to flow nicely. I have the feeling that once I know this language well I'll be able to do some really neat things in a short period, especially once I'm comfortable writing my own classes.

Read: Ruby code get simpler over time

Topic: urirequire: I got yer Web 2.0 right here Previous Topic   Next Topic Topic: QtRuby update

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use