Ask HN: What Lived Up to the Hype?
424 pointsCyberpunk’s reviews paint it as a tire fire. I think it’s a fun game, but it doesn’t live up to the expectation - it’s not the next Witcher 3.
There are many examples of overhyped releases: Duke Nukem Forever, the Matrix sequels, etc. What got hyped and actually delivered?
Comments (1,091) 238 threads
Show all comments
Showing thread 27 of 238
In 2007 I was plugging away at PHP with whatever frameworks were around at the time -- the vast majority of web dev that I saw then was pure procedural scripting down the page, maybe some `include` statements to pull in database functions. Especially in PHP, which encouraged mixing logic and HTML. The consultancy I was with had built custom stuff on top of Zend framework, and it helped a lot.
But around summer of 2007 is when I started hearing folks crow about Ruby on Rails, this hot new web framework written by a Dane in a Japanese programming language. It had been out for a few years and it was the hot topic in web dev circles, and so I decided to see what the fuss was about one weekend.
Instantly stuff I'd always had to do by hand was done for me. A decent data access layer with a few lines of code per db table, that automatically handled preparing and executing statements, and could handle keeping the database up to date with migrations. A REPL where I could load up the code I'd written for the app and use it for one-off debugging or maintenance tasks. A thriving plugin scene where many of the things I'd bashed together over the years were available, for free, just by cloning a repo.
That weekend I reimplemented the core functionality of one of the apps we'd been working on for a client. We'd taken about 10 weeks to get this thing into rough shape and I had its equivalent in two not-very-busy days. Authentication, authorization, CRUD, and fancy database queries I'd all had to hand-roll before just fell out of Rails.
I'm not overselling it when I say that for me, Rails was an absolute game-changer, and I myself and many folks I know owe their careers to the Ruby community and its (not always perfect) attitudes about software development. MINASWAN.
(I'm still active in Rails and the local Ruby community [Columbus Ruby Brigade!] but I'm running an Elixir/Phoenix shop now, which feels to me like the next step on the path Rails forged us.)
For me, the big hurdles early were Blocks, which seem strange at first but make sense, and some of the metaprogramming stuff which you can definitely ignore to start and be just fine.
Continue this thread — 1 reply
Its a funky learning curve where all team members are effective and few need to have extensive experience with the framework.
Not gonna take a side on the Rails vs Django deal though. Like you said, if a team can effectively ship software with it that's the only measure that counts.
The convention over configuration was brilliant - the implicit mappings made so much more sense. I could look at any given url and imply so much about what route/controller/view code was going to execute. The standardized code organization. ActiveRecord using the column names as data attributes.
Was CoverMyMeds written in Rails?
Most other apps and services at CMM were written in Rails after we showed that we could ship better software faster with it, and it now accounts for the vast majority of code there.
To some degree I think it's a matter of taste, but I would much rather start from a blank slate, with a set of sensible tools to build my solution up from scratch, rather than having an almost finished product I have to carve my solution out of.
Now that I'm hiring devs, I do not want to pay them to build a CRUD framework from scratch, I'd rather have them building business logic we can't get off the shelf for free.
But whatever ends up working for you is cool!
I feel like this is implicit in the name: these are the guide rails, stay on them and you will deliver more value in less time than you ever have before. If you need to do anything where you have to leave them, you have deRailed the whole thing.
The train metaphor is actually a pretty good one.
Continue this thread — 2 replies
A majority of online information based systems take input via forms and retrieve data from a database based on that input.
This is where Rails is the GOAT.
Continue this thread — 1 reply
One thing that still felt rough around the edges was the tie in with npm packages. Has that part been improving?
You have an `assets/` dir that contains your javascript stuff, and out of the box Webpack is set up there, but besides that it's all your choice, with the exception of the pre-shipped stuff for Channels and LiveView.
I am working on a new web app. Initially, Elixir/Phoenix was looking like an excellent option, but then I looked at hosting and decided it would be easier to use something like the Serverless framework for AWS deployment which JAMstack+lambdas seems to match better — no need to manage VMs and networking infrastructure, mostly.
I'm a big fan of rendering majority on a server and then shipping it, especially with Phoenix's LiveView which allows you to write reactive UI without writing Javascript.
But I said it in another comment: shipping value beats everything. If you can ship quickly and effectively in JAMstack to lambda, don't let anyone tell you that's wrong.
Continue this thread — 1 more reply