Craig’s Musings

Thoughts about software architecture, books and life

Craig’s Musings Dive In and Be Aware

Entries Tagged as 'Ruby'

From Java to Ruby

September 9th, 2006 · No Comments · Non-fiction, Ruby

As author Bruce Tate says in his work, “[From Java to Ruby] is about moving minds … about risks worth taking.” As I mentioned before, this book was the latest influence in a series of influences that has caused me to develop personal competence with Ruby.
When Bruce talks up front about calling his own significant [...]

[Read more →]

Tags:

Ruby coding conventions, standards and best practices

September 7th, 2006 · 1 Comment · Ruby

Since Rails is  the most popular framework based on the Ruby language today, I appreciate what the Rails developer site has to say about “source style”:

Two spaces, no tabs
Don’t use “and” and “or” for boolean tests, instead always use “&&” and “| |”
MyClass.my_method(my_arg) — not my_method( my_arg ) or my_method my_arg
Follow the conventions you see [...]

[Read more →]

Tags:

Ruby IDE

September 6th, 2006 · 1 Comment · Ruby

One of the concerns I had approaching Ruby was the apparent lack of an IDE. I see that Tim Bray expects there to be an IDE, too–among other things.
There appear to be several takes on the state of Ruby development environments. For example:

Languages like Java and C# have a class of developers that depend on [...]

[Read more →]

Tags:

Ruby, Rails and Unicode

September 5th, 2006 · 1 Comment · Ruby

As a software architect for EMC, I’m concerned with the global reach of what I build–employed technologies must support internationalization and subsequent localization in multi-byte locales (i.e. just supporting single-byte strings or Latin-1 locales is unacceptable). Per “How To Use Unicode Strings in Rails“: Rails currently defers its Unicode support to Ruby, which currently only supports [...]

[Read more →]

Tags:

I’m starting to see red

September 3rd, 2006 · 2 Comments · Ruby

While I may cumulatively spend a majority time and passion developing on Windows in .NET et al during my career, I also work with a significant Java code base at work. IMHO, both of these platforms overshoot the needs of classes of solutions with burdensome (not pervasive) runtimes, prolific APIs, and layer upon layer of functionality [...]

[Read more →]

Tags: