Steven R. Baker

45.5K posts

Steven R. Baker banner
Steven R. Baker

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
Steven R. Baker
Steven R. Baker@srbaker·
Not quite. RSpec was never intended to be used. It was a teaching tool, to get folks in my TDD classes (which usually didn’t testing in the name) to think about quality outcomes without getting hung up on the wording. What happened after that is probably my fault, but was not my intention.
English
0
1
2
188
Andrzej Krzywda
Andrzej Krzywda@andrzejkrzywda·
rspec was not meant to be a test framework, it was meant to be an executable specification
English
2
1
2
824
Steven R. Baker
Steven R. Baker@srbaker·
Yo dawg, I heard you hate tests so I took the word test out of your tests and now you call them specs.
English
0
0
7
238
Steven R. Baker
Steven R. Baker@srbaker·
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 video
YouTube
English
0
0
0
265
Steven R. Baker
Steven R. Baker@srbaker·
Whoever did Safari Dev Tools should be in charge of Xcode.
English
0
0
0
242
Steven R. Baker
Steven R. Baker@srbaker·
@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
0
0
0
22
Steven R. Baker
Steven R. Baker@srbaker·
I have previously advocated against the use of ViewComponents in Rails apps. I retract my earlier advocacy against. Do what you want.
English
6
0
35
3.2K
Steven R. Baker
Steven R. Baker@srbaker·
@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
0
0
0
19
Andy Obtiva (Code Master)
Andy Obtiva (Code Master)@AndyObtiva·
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
1
0
0
77
Steven R. Baker
Steven R. Baker@srbaker·
I toot out some absolute bangers here from time to time, and get crickets in return. But I point out that I'm slightly less opinionated about one tiny software library one time and people start losing their fucking minds. Some people never should have been told how to quit vi.
English
1
0
7
411
Steven R. Baker
Steven R. Baker@srbaker·
@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
0
0
1
179
Brad Gessler
Brad Gessler@bradgessler·
@srbaker Look at Phlex if you want a more powerfully way to work with components in Rails.
English
1
0
1
279
Scrapbookdev
Scrapbookdev@scrapbookdev·
@srbaker Fuck off! You are kidding! Next your post will be "use RSpec"
English
1
0
1
175
Steven R. Baker
Steven R. Baker@srbaker·
@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
1
0
1
91
Max Rukomoynikov
Max Rukomoynikov@Rukomoynikov·
@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
1
0
0
100
Steven R. Baker
Steven R. Baker@srbaker·
@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
1
0
1
215
Andy Obtiva (Code Master)
Andy Obtiva (Code Master)@AndyObtiva·
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 video
YouTube
English
1
0
2
570
Steven R. Baker
Steven R. Baker@srbaker·
@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
1
0
2
298
Max Rukomoynikov
Max Rukomoynikov@Rukomoynikov·
@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
1
0
1
332
Steven R. Baker
Steven R. Baker@srbaker·
Every time I go to the rails repo to see if it's worth upstreaming one of my things, I find that rails already has that feature.
English
1
0
27
1.6K
Steven R. Baker retweetledi
Nate Berkopec
Nate Berkopec@nateberkopec·
Seen in a Shopify project README. TIL RSpec is deprecated at Shopify.
Nate Berkopec tweet media
English
10
8
146
23.3K