Is learning this a good financial decision?
I haven't seen any new Rails deployments recently but I've also never seen an existing one rewritten to use something else, although I've heard tell of it. It definitely has way less baggage than what you'd call the modern equivalents, I doubt you would regret using it for something personal. But it's probably worthless on resumes these days.
>>107749091No.
One of the senior engineers at my work is obsessed with it. It seems like a fine notpython from my limited experience but it's annoying that I always have to look everything up on the odd occasion I need to modify his scripts. Personally I write all my tools as C++ native executables. Please be patient I have autism.
>>107749173>Personally I write all my tools as C++ native executablesGood god
>>107749173>It seems like a fine notpythonThat's a bit of an anachronism, Python 3 took a lot from Ruby.
>>107749275Yeh well, normal people use python
>>107749091If you don't already know an equivalent in another language, then go for it.If you don't already know Ruby, and are learning Ruby concurrently with Rails, my biggest pieces of advice is that, if you are following tutorials or examples, learn which classes and methods of the examples are code that comes from stock Ruby, and which come from Rails' constituent libraries.My second piece of advice is to keep in mind that Rails is organized into individual libraries, for each of the major affordances it provides: ActionPack: Web connectivity bits: routes, controllers, request/response, param parsing.ActionView: HTML templating and JSON rendering helpers.ActiveModel + ActiveRecord : Models, database query builder, database migrations.ActionMailer: Email sending.ActiveJob: Background job abstraction.ActionCable: WebsocketsActiveStorage: asset storage, e.g. AWS S3.ActiveSupport: A cross-cutting utility library that also augments core Ruby classes with some useful helpers.All of these can be included or excluded on any given project. For example if you only want an API server, and don't like Rails' JSON helpers, you can exclude ActionView. If you don't care about Websockets, you can exclude ActionCable. If you don't need to send email over SMTP,, you can exclude ActionMailer. And so on.
>>107749091No. Learn Java. >>107738273
>>107749091I remember when this was everywhere like 10 years ago and now it's rarely mentioned lol. So glad I didn't waste time on this lang
>>107749864It died alongside the classic MVC webapp. Now everything is a separate frontend and backend, and the frontend is usually an SPA or some other NextJS concoction.
>>107750271MVC is making a comeback though, everybody hates client side complexity nowadays unless it’s for a map app or similar. HTMX, LiveView, Hotwire etc.
>>107749091use anything popular in the industry
>>107749091Last time I heart of Ruby on Rails was literally 20 years ago. Boom time may have been RIGGGGGGHT before O'bummer took office in Amerikkka, but the time is over.I literally do not know of any project that is written on RoR now a days.Throw in creator shenanigans and why would you write anything in it?
>>107749173>script>compiledthat's the opposite of autismbecause the two are unrelated
>>107753008>Throw in creator shenanigansWhat shenanigans? Is he a white nationalist or something?
Rails legacy jobs are pretty comfy. A disproportionate amount of 4 day workweek jobs are at rails shops.
>>107749091just use php. why are people still falling for fads that will cause their code to be unmaintainable. don't be stupid.
>>107750271and everyone saw that it sucks, the js hate is as high as ever
>>107753190>just use PHP>why unmaintainable code
>>107749522 has good points. Rails is great but has frustrated me often with odd behavior. I don't think it's a good financial decision since you won't find many jobs, but I prefer Ruby & Rails over every other stack I've used for my personal projects. Stay away from Turbo at first. One of the dumbfuck things it does is preload other pages when the user hovers over a link. Then it also caches previous pages and renders those cached versions first. All to make the experience feel "snappy".
>>107749091i liked ruby in unifuck rails, but ruby itself was kinda neatat least it felt refreshing after java
I work at GitHub and we use it everyday. AMA.
>>107754415When will microshart force you to rewrite it in C#?
>>107753487in english
>>107749091I believe that all of the F500 webshitters use python or node with some java sprinkled in
>>107754655Why would they? microjeets only know python and javascript.
>>107754415Why is the website always down since you announced moving to Azure?
>>107749173>Please be patient I have autism.I don't want to be patient enough for all that C++ to have time to compile.
>>107754881It's often quite difficult to tell what they use, as it's all behind masking proxies. Different parts of the same site can be implemented in entirely different technologies.
>>107749091If your motivator for learning software is monetary you should fuck right off.
>>107755521Post socks
>>107749091it's okay if you use it as a json api or you don't use turbo & stimulus.while my work is by using ruby and rails, taking that experience to find new jobs is rather difficult.
Rails is the hidden white man’s stack. There are no shortage of companies that were founded on it 10-20 years ago that pay well to developers who can extend it. While the raw number of jobs can’t match Java, C#, Python, PHP or full stack JS/TS, it has way fewer applicants per role because pajeets never bothered to learn it.
i really really like railsbut no one seems to use it because “its slow”
DHH is a hack
>>107749091Ruby is simply a better Python. It has air tight OO unlike Python's shit OO. It has beautifully written built-in functions compared to Python's shit ad-hok double underscore built-in functions. Ruby avoid going to far into functional programming, which I consider a good thing for anyone who just wants to get simple scripting tasks done. Ruby is actually a very complex language that borrows heavily from Smalltalk but you dont have to understand Ruby at a deep level to use it.All that said, I think Julia is a better scripting language than Ruby. But if you like OO (which Julia does not have) then Ruby is the next best
>>107755856I have stinky beaner feet with Fred Meyer socks you wanna see them?
>>107757477Functional programming is incredible for scripting, Python’s problem is if half asses every paradigm it tries.
>>107757577Browns exclusively code for money, nice try.
>>107749524/thread