Live data from Hacker News

Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

gilesbowkett.blogspot.in

61–70 of 143 posts

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#61
post #36

Earlier quoted context omitted.

You missed the most important part: And as for overly ceremonial code, let me tell you about my balls. I actually have a rake task to scratch my balls. Somebody told me a good entrepreneurial programmer writes code to scratch their own itch, and I took them literally. The code uses a serial port to power an Arduino board. The Arduino's got a servo with a backscratcher attached. I keep it on a shelf at scrotum height…

OK it's mad funny, but what's so hard about `alias bx 'bundle exec'` in your .(bash|zsh)rc file?

You shouldn't need an alias in the first place. "Convention over configuration."

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#62
post #36

Earlier quoted context omitted.

You missed the most important part: And as for overly ceremonial code, let me tell you about my balls. I actually have a rake task to scratch my balls. Somebody told me a good entrepreneurial programmer writes code to scratch their own itch, and I took them literally. The code uses a serial port to power an Arduino board. The Arduino's got a servo with a backscratcher attached. I keep it on a shelf at scrotum height…

OK it's mad funny, but what's so hard about `alias bx 'bundle exec'` in your .(bash|zsh)rc file?

You shouldn't need an alias in the first place. "Convention over configuration."

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#63

Rails has always been bloated. That's what you get from frameworks that come with automation for common tasks. However, let me provide a counter-point ... I think that Rails 3 is finally a good framework that I want to use. Blogs written in 5 minutes (which you can still do in Rails 3) have never impressed me. What impresses me is code-reuse, modularity and readability. Which is why I preferred Django instead of Rail…

After everyone saw how it easy it was to write your own blog in Rails, everyone ... used Wordpress anyway.

The Rails use case was always truly limited. I still don't know any application that achieved maturity and stayed coded in Rails. For a while that was Twitter, but then they started moving stuff over the jvm.

Node will probably end up in a similar way, because at the end of the day no one wants to manage thousands of lines of Javascript (or any other language that doesn't enjoy the benefits of a statically typed ide).

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#64
post #50

Earlier quoted context omitted.

OK it's mad funny, but what's so hard about `alias bx 'bundle exec'` in your .(bash|zsh)rc file?

I have that exact alias. But it still adds 3 seconds to the startup time of any command run under it Maybe my laptop is underpowered, but three seconds to do essentially nothing is still a long time

I solved this by having isolated gemset for every project. This way I can use rake without fear of having multiple conflicting gem versions.

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#65
post #18

Glad you published this Giles. I really think you hit the nail on the head in your criticism of rails, and not necessarily ruby. I think some of the framework decisions in the 3.0 release were kind "abstraction for abstraction's sake" moves. In other areas, I think the framework has pushed beyond what the language is capable of handling in a reasonable manner, from a performance perspective (I'm talking about develop…

You'll get no argument from me that sinatra is simpler, faster and elegant.

However, I've often found that sinatra APIs end up re-implementing rails features one by one over time. Have you not seen a similar trend?

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#66

The people who learned with Rails always make me chuckle. The only reason Rails got anywhere was because of scaffolding and the hype that surrounded it - which of course already existed in some form in other platforms. It's completely revisionist to think that platforms like Java or .NET didn't already have application creators and ORM. The genius of Rails and DHH was the marketing which isn't surprising seeing as ho…

I don't know where you got that from. Struts was my first proper web framework- the kind where adding a column was an all-day affair.

The simplicity of Rails, even now, is that you'd only need to put it in two places- the migration and the view. You don't need to mess around with Hibernate XML configurations all day. Just add the damned column and get on with your life.

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#68

Earlier quoted context omitted.

Having to learn the ins and out of bundler `bundle exec, update, --without :darwin`.. just to use a package handler. I had growl_notify installed, and now we've forced our team to be mac only because we got tired of dealing with linux issues. Ruby Debug is impossible to get working in 1.9.3. The maintainer of ruby-debug has gone AWOL so we're forced to deal with solutions like this http://blog.wyeworks.com/2011/11/1/…

You don't have to use Bundler. Just delete the Gemfile and manage the dependencies yourself.

The problem is that there's no third option- something to manage dependencies that's not bundler. We all want and need dependency management, but bundler should not be the One True Solution.

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#69

Rails has always been bloated. That's what you get from frameworks that come with automation for common tasks. However, let me provide a counter-point ... I think that Rails 3 is finally a good framework that I want to use. Blogs written in 5 minutes (which you can still do in Rails 3) have never impressed me. What impresses me is code-reuse, modularity and readability. Which is why I preferred Django instead of Rail…

After everyone saw how it easy it was to write your own blog in Rails, everyone ... used Wordpress anyway. The Rails use case was always truly limited. I still don't know any application that achieved maturity and stayed coded in Rails. For a while that was Twitter, but then they started moving stuff over the jvm. Node will probably end up in a similar way, because at the end of the day no one wants to manage thousan…

In my experience with Ruby development (2 years), I have never, ever experienced a single issue caused by duck typing. Static typing is great for performance, but it has nothing to do with being able to maintain a project.

Re: Went Off The Rails: Why I'm Rebuilding Archaeopteryx In CoffeeScript

#70

Earlier quoted context omitted.

You don't have to use Bundler. Just delete the Gemfile and manage the dependencies yourself.

The problem is that there's no third option- something to manage dependencies that's not bundler. We all want and need dependency management, but bundler should not be the One True Solution.

Write your own? I'm sorry but if Bundler doesn't solve your problem (or introduces other problems) either try and fix those issues OR write your own dependency management lib.
Post reply on HN