Live data from Hacker News

Will Rails be the new PHP?

roy.io

1–10 of 50 posts

Re: Will Rails be the new PHP?

#2
It's the strangest thing. It's like having a blog and access to Hacker News makes self-proclaimed "seasoned" programers forget that they, too, probably had really crappy code when they started programming.

Instead of bashing green programmers who coincidentally became interested programming at the same time that Rails makes it so easy to start, why not offer them up a list of resources to make them better?

Humans are only born knowing how to cry and swallow. Nobody's born knowing how to program. Let's give Rails the props it deserves for lowering the barrier to entry for making web applications and look forward to the future where these new programmers are making things to make our lives easier.

Re: Will Rails be the new PHP?

#4

It's the strangest thing. It's like having a blog and access to Hacker News makes self-proclaimed "seasoned" programers forget that they, too, probably had really crappy code when they started programming. Instead of bashing green programmers who coincidentally became interested programming at the same time that Rails makes it so easy to start, why not offer them up a list of resources to make them better? Humans are…

So true. I started off writing really shitty Perl and PHP code. Some of my Java and ActionScript was also nothing to be proud off. Yet I think I write nice code today.

The key is not to be judgemental.

If you think there's a problem, don't point fingers. Go out there and help fix the problem. With compassion and understanding.

Re: Will Rails be the new PHP?

#5

It's the strangest thing. It's like having a blog and access to Hacker News makes self-proclaimed "seasoned" programers forget that they, too, probably had really crappy code when they started programming. Instead of bashing green programmers who coincidentally became interested programming at the same time that Rails makes it so easy to start, why not offer them up a list of resources to make them better? Humans are…

He's not bashing green programmers. He's bashing on programmers with years under their belt who never got any better, and don't participate in any community.

Re: Will Rails be the new PHP?

#6
um no?

PHP "has a relatively small community, with the majority of people working under the radar and on their own?" ?

Where is he getting these stats? relative to what? For instance

http://www.tiobe.com/index.php/content/paperinfo/tpci/index....

Says PHP the language is more popular than Ruby the language (let alone the subset of Ruby programmers who use Rails). I don't get where that perceived smallness comes from. In all my experience and every way I've seen the PHP community is vastly larger than the Ruby community. Also comparing a language to a Framework seems... weird. It might make more sense to compare Rails to Drupal at least, which again, in the enterprise world, I have seen waaay more Drupal installs than Rails ones. There are a few high profile Rails sites but it quickly seems to drop off into hobby and startup. Meanwhile Drupal is just everywhere. It's surprising.

Also, accusing the PHP community of "writing below par software while charging their clients for it?" is hilarious coming from the Rails camp. Generally lowering the bar for entrance while making it easier for good devs to get good work done faster also allows more "bad" devs to enter as well. Anyone remember earlier this year that core Rails bug that allowed people to overwrite almost all data that most big Rails sites were affected by (including github)

https://github.com/rails/rails/issues/5228

I cannot understand where this viewpoint is coming from, it seems hilarious (and at best, the criticisms seem like the pot calling the kettle black).

Re: Will Rails be the new PHP?

#7
This not in my backyard eliteism is a problematic mindset, especially geeks hating on geeks, who probably weren't that popular in school themselves.

Kind of ironic.

Tools are just tools. Most are capable and have good web frameworks.

Opinion and preference is largely what most posts like these are based on, while it's free to have your opinion and preference of what tools you use, judging others, and how and if they may learn is another thing.

Re: Will Rails be the new PHP?

#8
Maybe. If Ruby / Ruby on Rails is a good language for web-development, easy for beginners to learn, the community is helpful, beginners feel welcome, and experienced developers invest in teaching; you'd expect to find a small army of 'just get it to work' developers knocking out small projects and charging too little.

I'm ok with that. Small projects get done. Not everyone needs a $125/hr consultant. Some of those projects will grow and need more experienced developers. All of those beginner developers will gain experience. Some of those beginner developers will continue to grow, learn testing, learn better software design principles and start contributing to the community.

If Ruby on Rails has, or were to have, a small army of beginner developers writing poor code on small projects and charging too little for it; I think it would be a healthy thing.

Disclosure: I got started as a Rails-first-language developer and have loved every second of it. And I try to get new people started with web-development using Rails and hope to see them get their first small projects that they can write bad code for and get paid anything for.

Re: Will Rails be the new PHP?

#9
There's really only one paragraph here that remotely tries to explain the headline:

"The PHP where there are lots of people writing below par software while charging their clients for it? The PHP that has a ton of websites with crappy advice and crappy code to copy/paste? The PHP which has a relatively small community, with the majority of people working under the radar and on their own?"

I'm a Python developer. Do you have any idea how much crappy Python code and crappy advice is on the internet? Take a look at the StackOverflow homepage at any given moment. Every language has developers at every stage of the learning process. And every language has developers who have stunted in the learning process.

So, this is ridiculous. The answer is no. Rails provides infinitely better tools in a better language than PHP.

Re: Will Rails be the new PHP?

#10
The level of elitism in the Ruby and by extension Rails communities never ceases to amaze me. Having attended several ruby and rails conferences over the last few years, the belief that Ruby is the language of "good programmers" is so prevalent as to be off putting.
Post reply on HN