News for hackers. Stuff that matters.
Re:Where Ruby/Sinatra falls short by whalesalad on Monday October 15, 2018 @11:42AM (#18220614)
Sinatra is not an "approach to web apps" -- it's a single purpose tool that maps HTTP requests to Ruby. Like Flask or Web.py (Python) and Express (JS).

You are comparing apples to oranges.

Re:Where Ruby/Sinatra falls short by menacingly on Monday October 15, 2018 @11:52AM (#18220711)
And you're saying oranges aren't fruit because they aren't like apples.

It's actually a not-insignificant amount of code that creates an approach so cleverly transparent that you are able to interpret it as no approach at all.

Re:Where Ruby/Sinatra falls short by TomK32 on Monday October 15, 2018 @02:02PM (#18222033)
"oranges" is a very narrow range of colours between 585 and 620 nm wavelength. I'm not surprised wikipedia has a page on that https://en.wikipedia.org/wiki/Shades_of_orange
Re:Where Ruby/Sinatra falls short by beat on Monday October 15, 2018 @12:48PM (#18221329)
Sinatra is the DSL/object model. Rack is the http request mapper.
Re:Where Ruby/Sinatra falls short by te_chris on Monday October 15, 2018 @12:34PM (#18221173)
No, that's Rack.