Earlier quoted context omitted.
Yeah, I think it helps that we're very intentionally lean (we currently have just 2 engineers servicing about 100,000 paid subscribers, which is a bit too lean for comfort for me, but at least makes us think very hard about introducing complexity).
I’ve often thought that this would be a good constraint i.e instead of hiring a dev ops to migrate to a complicated AWS/k8 setup, it might be better to spend that wage on added Heroku costs to keep things simple
An Ode to Ruby
181–190 of 204 posts
Re: An Ode to Ruby
#182Re: An Ode to Ruby
#183Earlier quoted context omitted.
The "you should be using Crystal" post is mandatory in any ruby thread. If everyone saying "yes, Crystal" were actually using Crystal, then: a) they would see how far from "better ruby" is Crystal and b) The Crystal community would be huge.
> they would see how far from "better ruby" is Crystal Are you accusing us both of lying? How strange.
Re: An Ode to Ruby
#184Earlier quoted context omitted.
Surprised you didn't try Elixir? What about Sorbet?
I would love to try elixir, but JetBrains still does not have an IDE for it. I'm addicted to their IDEs. I did try the community made plug-in for elixir, but had trouble getting the debugger to work which was a show stopper for me.
However... after dabbling a bit I discovered VS Code + Remote Containers Plugin (because of Docker) + ElixirLS + other minor Elixir plugins that have turned my Elixir development experience into pure bliss. I haven't used the debugger in the IDE yet but I am 99% sure it's gonna work out of the box. Happy to try and share the setup if you want to try it out.
Re: An Ode to Ruby
#185It's too bad Ruby isn't seen as 'cool' anymore, it's just so easy to be productive in it. And now MJIT, YJIT and TruffleRuby are making some very impressive performance gains. Rails is also better than ever and I still can't think of a better language for scripting.
What was cool was Rails, IMHO, and Ruby was the surprise inside it. I've had my own personal Advent of Code these holidays, coding a small API for a personal need. Ruby (Sinatra) took one morning to full deployment in Heroku. Then I tried Crystal (Kemal) and it took me a couple of days to figure out how to map JSON to Crystal data structures. Then I rewrote it again in Rust (Rocket). Two weeks till I figured out, wel…
[1]Stop designing languages. Write libraries instead:
https://jaxenter.com/stop-designing-languages-write-librarie...
Re: An Ode to Ruby
#186Earlier quoted context omitted.
You probably don't want to use an ide-driven debugger for elixir, you'll want to use :dbg which has a different "conceptual model" than what you are used to and doesn't map well onto Conventional debuggers. It's simply not the same due to the extreme high degree of concurrency in the beam VM
Well, no I actually do want that in my local environment where the only request is my own. The fact that you are telling me that I don't want something, is why people some people find the Elixir community off-putting.
Re: An Ode to Ruby
#187Re: An Ode to Ruby
#188Earlier quoted context omitted.
"I still can't think of a better language for scripting." Python I find equally if not more simple. Would you agree?
Even if you would rate the languages themselves equal to one another. The ecosystem of Python is several orders of magnitude larger. Anything you want to do has a python module or an example. I think the real question is, is it really worth giving up all that for two minor improvements in syntax.
But yes outside web - data science, web crawlers etc...Python has the clear advantage.
Re: An Ode to Ruby
#189Earlier quoted context omitted.
I'm a Rails dev at $JOB, currently flirting with Phoenix, and while I think that both Elixir and Phoenix are really solid and even quite enchanting, I don't think they're the best choice for someone's first contact with webdev. Most people are more comfortable with imperative languages and Elixir only adds to the initial friction of not knowing the proper webdev lingo and concepts.
> Most people are more comfortable with imperative languages Unscientific poll with possibly a biased sample: more people find functional easier to work with. But telling, the difference is more pronounced among bootcampers and informally educated programmers than formally educated programmers https://twitter.com/DNAutics/status/1459348334007787526 . Not to mention that Elixir is basically "mostly functional but you…
Re: An Ode to Ruby
#190Earlier quoted context omitted.
So you come from the Node ecosystem and your main complain about Rails is that the project has a lot of dependencies and files? lol
I hear your point but the quantity of files produced by initializing a new rails project is very large, larger than an equivalent node project with server and framework. These aren't transient build artifacts either, they will live in the repo and may occasionally need attention.