Recent submissions

Comment · 4 years ago
Can you give an example? Gonna have to pick up Go for work soon, just curious what's in store.
Comment · 4 years ago
These are all catch phrases - simple, powerful, easy to host. Whatever. Everyone thinks they are simple and powerful.

So Ruby's catchphrase is "developer happiness". There you go.

Comment · 4 years ago
Rails is doing a lot for you. There's no point in comparing it to something lean like Express. If you want that in Ruby use Sinatra, not Rails.
Comment · 4 years ago
Lol I like how you substantiated your argument with that Tweet. Looks like serious research.
Comment · 4 years ago
As a Rails dev it's extremely rare for me to need some functionality that Ruby doesn't cover. If you're doing standard web development most likely you're gonna be fine with Ruby. I've been doing this with Ruby for around 8 years so I bumped into quite a few use cases...there are gems for all the standard things.

But yes outside web - data science, web crawlers etc...Python has the clear advantage.

Comment · 4 years ago
You dont mock the db layer, i dont do that at least, hell no. Let the db be hit, check that the records it returns make sense. Thats how I roll at least.
Comment · 4 years ago
I think tests should have caught that one but I agree.
Comment · 4 years ago
ViewComponents are just a glorified partial no? Have nothing against them but I don't see the big fuss...
Comment · 4 years ago
I dont wanna sound negative but for some people giving up makes sense. Entrepreneurship could be extremely isolating and depressig, especially when its not working out, and not everyone wants a decade of failure after failure and missing out on other financial and social opportunities.
Comment · 4 years ago
Rails. Wait a minute actually..oh yeah - Rails.
Comment · 4 years ago
What type of interview? If it's a Leetcode/Coderpad type of test where you're expected to deliver a working solution in 30-60 minutes definitely go with what you know best. No one cares if it's Ruby or Python. They want to see your code generally works.
Comment · 4 years ago
I'll take legacy Rails over legacy Java or legacy PHP or legacy .NET but to each his own. Good luck!
Comment · 4 years ago
Rails 6 has support for multiple dbs ...
Comment · 4 years ago
Gitlab is also Rails :) But wait it's probably super slow. You should try Jira heard it was wriiten in Java. Must be a fast app then.
Comment · 4 years ago
> When multiple teams work on the same rails project, you're bound to have someone enhance some class somewhere

It really isn't that common just like it isn't that common to do it in JS or in Python. Some people used to do that shit a decade ago, it became frowned upon and I don't really see it anymore.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton