Rails Has Turned Me Into a Cannibalizing Idiot
wekeroad.com
wekeroad.com
I'm a little surprised that rant even earned a response. Are current web frameworks perfect? No. Are we all in complete agreement about how to improve them? No. Ok, with that out of the way, lets keep this in mind during our collective disagreements: http://scienceblogs.com/startswithabang/upload/2009/08/weeke...
Yes, but also computer science theory --which is mostly infallible domain specific mathematics--, always beats idiotic industry practices and ignorant dismissal of theory.
Pragmatism is: "2 + 2.0000000000001 = 4, for my purposes".
It's not: "2 + 2 = 5, theoretical dogma be damned"
Yes, but in the end, you can't escape theory, you have to know it, even if less rigorously and systematically.
Consider the example of the web programmer that stores monetary transactions as floats in some db, blissfully unaware of the issues. Hilarity (or huge lawsuits) ensues...
I been doing this exact thing in my project. Core behaviors are now modules included in my AR classes. I can make anything authenticatable, or locatable, etc etc etc. One of my classes "extends" many modules, each one independently tested and gives some specific behavior to any object it takes.
Granted, rails is not good as a long-term framework for long-lived projects. It's a great starting point. Eventually you will use less rails and more custom services. I think of rails like facebook thinks of PHP -- front end code.
But the bright side is that this "Convention" has arose from identifying the common problems with web development and coming up with a standard solution which adheres to DRY principle which is another one of the Rails founding principles. The Convention also makes it easier for users to share code helping DRY again. So, if you prefer "Configuration over Convention", you are better off using something else.
> Where is CommonAssemblyInfo.cs?
>
> CommonAssemblyInfo.cs is generated by the build. The build
> script requires Ruby with rake installed.
>
> Run InstallGems.bat to get the ruby dependencies (only
> needs to be run once per computer)
> open a command prompt to the root folder and type rake to
> execute rakefile.rb
That a person cannot fathom that it's entirely possible that "we're (all) doing it wrong" is just priceless.
How about the CGI era? Should we have all stuck with that, still using CGI interfaces in whatever language? Yeah, all or almost all solutions at the time were DOING IT WRONG.
It's not even that uncommon. Take Java EE for another example. Almost all frameworks circa 2003-2006 were this bloated mess. Not only the official Sun EE frameworks but tons of libraries and additional third-party stuff was using the same bloated, messy, XML-laden, inefficient style. And they found out they were all DOING IT WRONG, and changed course.
In general, the response article is mostly smart-assy ill attempts at humor.