Steven R. Baker
45.5K posts

Steven R. Baker
@srbaker
Comedian. Purveyor of snark. Software veteran. Creator of RSpec and the describe/it pattern for software description. Emotional support Canadian. 🇨🇦 in 🇸🇪
Sverige Katılım Mart 2008
1.1K Takip Edilen2.6K Takipçiler

Can someone tell me what kind of hat the guy on the right is wearing? I can't make out the brass well enough on my screen, and my screen is gigantic so I've tried all sizes.
youtu.be/fDRFwiuwYrE?t=…

YouTube
English

@DeeperAndDowner Much like the way I was introduced to Ruby, the way I was introduced to ViewComponents made me wonder why I would ever want them, so I avoided looking.
Enjoying it so far. I think I like the remplate-in-component thing that Phlex does more; but VC seems to integrate better.
English

@scrapbookdev My opinion on RSpec is very weak. I don't see value in it; if people do, then that's great for them. :)
English

If you’re telling people to chill out, it means you’re not chill and somehow upset to ask for that. Sorry, but hypocrites don’t gain the respect of people. They oughta lead by example before people follow them. You lost me with that, and I didn’t read the rest of your message as a result. Won’t read further comments nor reply further. Bye.
English

@bradgessler See, this is what I was worried about.. Phlex looks neat too. But I think I like the way VC composes for this particular purpose. We'll see.
English

@srbaker Look at Phlex if you want a more powerfully way to work with components in Rails.
English

@scrapbookdev I just have a slightly less strong opinion about something.
English

@srbaker Fuck off! You are kidding! Next your post will be "use RSpec"
English

@Rukomoynikov Yeah, that basically replaces another thing I built for cucumber years ago. It's nice to see it baked in. "Living Documentation"; I may end up releasing some stuff on this in the year.
English

@srbaker And not just sharing views, I also like how with Storybook they can turned into kind of “live documentation, live demo and tests”.
English

@AndyObtiva Hey dude, chill out man. People can like what they like for their own needs man.
I just pointed out that I'd changed my mind from "no, never ever" on something. I was surprised.
English

People were already free to do what they want, so your last statement makes zero sense. Sharing opinions never restricts people’s freedom.
That said, I still recommend against using ViewComponet as it’s 100% overengineering that happens due to lack of knowledge of Rails and lack of skill in using it. Its code is objectively more complicated than writing View Components the Rails way instead. I even gave a talk on the topic explaining why for the benefit of improving devs’ Rails skills (smart devs would learn from that talk): youtu.be/9aT_ATtends?si…
I would never compromise and be a pushover in sharing my honest opinion just because some people got mad or started hating me, or else my compromised opinion becomes incorrect and useless, let alone hurts customers. I only respect people with the backbone to say no when it’s the truth and everyone else is saying yes.

YouTube
English

@Rukomoynikov It's complicated, I'm not sure if I've written about it.
But I've changed my mind only because I have several apps that I want to share large chunks of code (including views) between, and components are better for that.
English

@srbaker Where can find your reasoning? I’m honestly curious. I like ViewComponents primarily because they (as I believe) push developers to using pure functions for ui layer.
English
Steven R. Baker retweetledi

Shopify is another company going all in on Minitest. They deprecate their rspec-queue runner.
I haven't realized I'll see real shift from RSpec but it's happening in real time as we speak.
Back to defaults that just work (tm).
Nate Berkopec@nateberkopec
Seen in a Shopify project README. TIL RSpec is deprecated at Shopify.
English
Steven R. Baker retweetledi
Steven R. Baker retweetledi

Canada is a meme.
We are not a serious country.
Emil Olsson@EmilOls42054984
Då kör vi ett kanadensiskt frimärke!
English



