Live data from Hacker News

Ruby on Rails in a week

simplethread.com

151–160 of 176 posts

Re: Ruby on Rails in a week

#151
post #96

Is it just me or is Rails really complex? Its abstractions are so far removed from anything familiar (HTTP, SQL) that its difficult to understand what is happening unless you deeply understand the framework.

The whole thing centers on ActiveRecord. Understand that, and you're basically done. Be warned, though. Once you do, you'll never want to go back to any other ORM's.

Re: Ruby on Rails in a week

#152

I took a rails job by accident- I knew rails was in use but I was interviewed in Go and talked about new things going on in Go micro services. I didn’t expect 40 hours a week of rails / ember JS work and that’s my fault. I have 12 years with Django and I was shocked there wasn’t the equivalent of the Django tutorial. Everyone says the rails tutorial is good and I’m sure it’s worth the money but no one at work endorse…

One thing I found is that using a basic text editor for the first year (or so) of learning Ruby, made sure I understood what the IDE was doing when I eventually switched to it.

Re: Ruby on Rails in a week

#153

Earlier quoted context omitted.

I like Javascript and Express, so in that sense they are OK. I hate the brittleness of the ecosystem, the "flavor of the month" character, and the explosion of options, there are people who like that setup: small programs that you can plug and play to create your whole stack, I find that tiresome, I prefer big monoliths in which the best options and practices are universally agreed upon. Ah and I hate Typescript, nic…

If you have to end up using "any" on something not too weird, then you probably aren't getting TypeScript right. The typing system is way better than php, ruby or swift I feel like I'm using a language of a generation behind after using TypeScript.

good thing he didnt think of phps, ruby nor swifts typing system then.

he made a specific example and it holds true. languages like c# and java are just better at it and typescript is kinda in between. not great, but maybe good enough for a lot of people.

Re: Ruby on Rails in a week

#154
post #14

Rails is in a really good place. When I learned it back in 2015 there were so many resources for learning, it felt like every time I had a specific problem related to a feature I was implementing there was either a railscasts or gorails video on it, along with 10 blog posts and stack overflow results. I can only imagine how much better it is now. It has been one of the only semi-modern learning experiences where I wa…

I 100% agree that Rails is in a good place as a framework, and that that is largely because of a very active and engaging community and devs who take criticisms and opinions in consideration.

I also think that it is generally easy to find answers to things by Googling them and finding blog entries or stackoverflow answers. But honestly, the Rails documentation is absolutely terrible. Be it apidock.com/rails or api.rubyonrails.org, it's just way too sparse. It's funny because the Ruby documentation is great.

Re: Ruby on Rails in a week

#155

Earlier quoted context omitted.

This 10,000 times. And it’s not just Rails, the quality of the Rails documentation made an impact on the Ruby community that was generally replicated. Compare that to the JavaScript world where cornerstone, insanely popular libraries will have documentation that covers roughly 10% of a library’s API surface area and maybe one simple example that doesn’t cover production use cases. And dozens of out of date Medium blo…

I've been doing Javascript for a long time and have rarely run into issues with a lack of documentation. Maybe in projects with like 10 stars on Github ran by a single developer but in all of the major Node projects, you're going to have ample documentation and support for implementing said libraries. Just my take.

I've found most JS libraries are as the parent described, low coverage, garbage basic examples. Maybe this isn't the case on major huge libraries, but for your every day library, it's like there's a rule where you have to write the worst docs that still look pretty and all there at first glance, but totally useless and frustrating time and time again. The docs usually feel smug in the way they make it seems so easy and then they don't tell you how to do anything useful, like you are the one in the wrong for trying to use it for a real example or that you are an idiot because you can't just infer how everything would work without docs and examples. You have to learn from StackOverflow issues to understand how to actually do anything. That's my view. Maybe in general people just don't remember anything with good docs, and only the bad examples.

I feel like my ambitions for doing anything quickly are destroyed time and time again after finding a library to help me do it easily and fast the docs are the same old garbage. And these are the top starred libraries for their purpose. "How can this common thing to do on JS not have a huge, widely used and well document library that has existed for years?". It still blows my mind how after years and millions of people using it, so many libraries still have the worst docs.

Re: Ruby on Rails in a week

#156
post #25

Anyone doing/thinking about Rails in 2020 should give matestack a try :) reactive user interfaces in pure Ruby (and Vue.js under the hood!) https://github.com/matestack/matestack-ui-core

@pdoub - can you elaborate on the Vue under the hood? I love ruby, and like Vue a lot. Does Matestack do a translation layer from Ruby -> Vue in JS? Eg: transpile, etc.

Re: Ruby on Rails in a week

#157
post #69

I love rails. I want to build products and not muck with tech stacks. Rails and the ecosystem make it easy.

This is my view. I'm a CompSci person who hates mucking in the toolsets and language peculiarities of stacks, but loves product ;)

I have never been able to be more 'meta' in product than I have felt with Ruby/Rails.

Re: Ruby on Rails in a week

#158
post #2

Having picked up Rails 9 years ago and having been using it literally daily ever since, it's joyful to read from someone that is just starting. I also started with https://www.railstutorial.org/book , highly recommend it. I also loved Metaprogramming Ruby (Paolo Perrotta) - it's more advanced and starts to open your mind to how Rails magic DSL's were built. I just bought today "Rebuilding Rails" ( https://rebuilding-…

Just starting to learn rails myself so I am glad I found this thread. I have been going through https://open.appacademy.io/. It has a lot of example problems and projects which helps me learn. That is also why I like https://www.railstutorial.org/book (although it is more like a well done tutorial than example problems).

Re: Ruby on Rails in a week

#160
I recently started learning Ruby on Rails about 3 months ago. I had zero knowledge about any web programming. HTML, CSS, Bootstrap, JavaScript is all new to me. Using Ubuntu was also foreign to me, but I tried. I started watching videos on YouTube, especially from Traversy Media. Then I joined a few courses on Udemy. Reading books was painful, so I started actual working on code. I am building app to create a portal, giving information about non-profits. (planning to release my rookie code in AGPL license). Having a project in mind really helps. I really liked the simplicity of Rails' structured way, but there is a lot to learn and it gets overwhelming, but it is fun and I like it. It was also motivating to know that I could learn programming at age 53. Heartfelt Thanks to all those unknown faces on the internet who are selflessly helping others like me learn new things. Now I realized, that you are never too old to learn something new. Yes, Ruby on Rails is fun.
Post reply on HN