This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Are Ruby on Rails programmers better paid than Java ones?

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to know if Ruby on Rails programmers are better paid than Java ones.

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the job, the location, and the market. There's no way to generalize an answer. I've made equal amounts doing either, but I have a lot of experience.
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey David,
Would you please share with us your impressions about Rails?
I reading Rails in my free time.
IMHO, Rails absorbs Java frameworks until the last drop (something Rails folks never admit).
I met a lot of Rails programmers and I was shocked to see their ignorance about Ruby itself.
It looks many programmers learn Rails without learning Ruby itself in the first place.
But the secret sauce is the Ruby language itself which it is beautiful and flexible.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think RoR is really great until you try to do something against the framework's wishes, then it's a nightmare. I'm hoping Rails 3 will fix some of it, or at least make things more amenable to customization.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David Newton wrote:I think RoR is really great until you try to do something against the framework's wishes, then it's a nightmare. I'm hoping Rails 3 will fix some of it, or at least make things more amenable to customization.


I can't recall experiencing this. Are you thinking of any specific examples, David?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I needed to use a different templating engine (long story) adn wanted to tie it in to the existing mechanisms. Back then there was a bunch of hardcoded stuff revolving around that (which types were supported or cached or something, I forget what) and I would have had to change some RoR guts to get what I wanted, which I really didn't want to do. Changing the validation mechanism was similarly convoluted.

It shouldn't take much effort to find other tales of woe--issues hit while trying to do things in something other than the "Rails way" abound. Sometimes the problem can be restated in a way that allows a clean solution, other times monkey patching is the only way.
 
Marc Peabody
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Validation is pretty easy to do what you want nowadays.

I can't really say much about the templating technology since you didn't say which one. I've only used ERB and HAML so far and they're both pretty good. Better than vanilla JSPs, anyway.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The issue with templating back then was that there were RoR internals hardcoded to a couple of file extensions. Grafting one in would have been a major pain.

I'm more or less fundamentally opposed to model-based validation, since I might want to use the same model for forms with different field requirements. Back then it was needlessly tied too closely.
 
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeremy McNally had some interesting notes on validations in Rails3
Some of the key items: ability to move validations out of the model with custom validators, shorthand for multiple validations dubbed "sexy validations", and moving validations out of ActiveRecord into ActiveModel.

Overall, the merge with Merb means that Rails3 will be a much more open framework in terms of ORM, templating, JS Frameworks, and generally going around/slimming down Rails. This slideshow hits on some of the key points. As the author noted, Rails is now "Less Opinionated" (and more flexible).

 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I'm hoping that particularly with the merge it'll be a bit more like a framework I *really* like, instead of one I generally-like-for-some-classes-of-problems. I also saw those validation comments--definitely more along the lines of what I'd prefer.
 
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic