HackerTrans
TopNewTrendsCommentsPastAskShowJobs

montblanc

no profile record

Submissions

Ask HN: Remote/Offshoring – Jobs Unaffected?

2 points·by montblanc·5 anni fa·0 comments

Rust Is Not a Good C Replacement

drewdevault.com
15 points·by montblanc·5 anni fa·3 comments

To Those Who Walked Out on Palestinian-Israeli Dialoge

blogs.timesofisrael.com
8 points·by montblanc·5 anni fa·0 comments

How to Undo Woke Programming

hollymathnerd.substack.com
2 points·by montblanc·5 anni fa·0 comments

comments

montblanc
·5 anni fa·discuss
Can you give an example? Gonna have to pick up Go for work soon, just curious what's in store.
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
Lol I like how you substantiated your argument with that Tweet. Looks like serious research.
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
I think tests should have caught that one but I agree.
montblanc
·5 anni fa·discuss
ViewComponents are just a glorified partial no? Have nothing against them but I don't see the big fuss...
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
Rails. Wait a minute actually..oh yeah - Rails.
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
I'll take legacy Rails over legacy Java or legacy PHP or legacy .NET but to each his own. Good luck!
montblanc
·5 anni fa·discuss
Rails 6 has support for multiple dbs ...
montblanc
·5 anni fa·discuss
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.
montblanc
·5 anni fa·discuss
> 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.
montblanc
·5 anni fa·discuss
How much effort did you put into learning Ruby and Rails properly? It's easy to get started but rather hard to master and it sounds like you're invested in other tech.
montblanc
·5 anni fa·discuss
> It takes a lot more effort and housekeeping in Rails to make it scale well.

It takes increasing the number of pods on your k8s which is how almost all teams deploy nowadays. Bigger amazon bills yes but the devops overhead isn't really larger in Rails,
montblanc
·5 anni fa·discuss
Have no argument with you there, I'm not saying it was all a win. Mental health problems seem to be increasing and the internet is part (but probably not all) of the problem.
montblanc
·5 anni fa·discuss
Well the game has also changed for dynamic languages. Writing JS or Ruby with a powerful IDE today isn't what it used to be 5-10 years ago and it will keep getting better. The tools and linters will become smarter about catching silly typos. It will never be like writing in a compiled language but the gap will narrow. Also - I don't think we'll ever agree on any language. Sure, some languages will be dominant - Java maybe or Rust or whatever, but there will always be room for alternative approaches. Humans don't fully agree on much.
montblanc
·5 anni fa·discuss
Well as a society we are super screwed if some event wipes out the internet or computers. The dependence is gonna keep increasing. I wonder when we'll hearing stories about Amazon servers shut downs inadvertently killing some people.