DEV Community

Cover image for I'm Sandi Metz, Ask Me Anything! [Finished]
Sandi Metz
Sandi Metz

Posted on

I'm Sandi Metz, Ask Me Anything! [Finished]

Hi, I'm Sandi Metz, author of Practical Object-Oriented Design in Ruby and 99 Bottles of OOP, and I believe in simple code and straightforward explanations. I prefer working software, practical solutions and lengthy bicycle trips (not necessarily in that order) and I write, consult, and teach about object-oriented design.

Ask me anything!

Latest comments (60)

Collapse
 
delbetu profile image
M Bellucci

Hey, Sandi sorry I know this is an old thread but I wonder if you answer this question:
dev.to/delbetu/depend-on-things-th...

Collapse
 
phillipjacowski profile image
phillip jacowski

are you still working on a javascript book? I remembering hearing that right after i finished 99 bottles and i was eager to read it! Thanks

Collapse
 
melsumner profile image
Melanie Sumner

Thank you so much for writing POODR. It's perfect.

Collapse
 
dkassen profile image
Daniel Kassen

HOW DID I MISS THIS

Collapse
 
jmike1690 profile image
Miguel

Hi Sandi, thanks for doing this AMA!

I had a situation where a route call a method to get an amount, and this method used a switch for check the type (Each case call a method).

I'm using Laravel with the pattern of repository/interface so I created 2 repositories (I notice that some cases of the switch are similars so I decided to integrate them in the repositories).

First I create an array of the repositories

Array of repos

Then in the method amount I change to this

Array of repos

What do you think? (I take base of this article of you when-code-duplication-is-the-right...

Collapse
 
ross profile image
Ross Creighton

POODR is the best software related book I've ever read. Thanks!

Collapse
 
roperzh profile image
Roberto Dip

Hey Sandi, thanks for doing this! I have learned a ton from you, as you were (and still are) one of my references when I just started coding.

I'm looking to improve myself as a developer, and I realized that I can write a lot of code and read a lot, but without feedback it's hard to know if you are on the right path or not. Do you agree with this? If yes, do you have any suggestions to where to find this feedback? Open source seems like a good place.

Collapse
 
ripfoghorn profile image
Igor Soares

How does one correctly ensures thread-safety when dealing with concurrency in OOP?

Collapse
 
annarankin profile image
Anna Rankin

Hello again! A question I forgot - shortly before I joined my current engineering team, they'd spent a few days doing a workshop with you (they called it "Sandifest" 😂). What sort of things do you do when you spend time with a development team? How do you determine what subject matter to focus on?

Again, thanks a million :D

Collapse
 
sandimetz profile image
Sandi Metz

Hey, Anna, I teach a 3-day OO course, and that may be what your folks are talking about. The course gets tuned to the group, but contains a set of foundation OO ideas that I cover for every class. It's really about how to think in OO.

Collapse
 
annarankin profile image
Anna Rankin

Awesome! Thanks :D

Collapse
 
annarankin profile image
Anna Rankin

Hello Sandi!

Let me start by saying that ever since I started programming, your talks and books have been a major influence on me and my work. Thank you a hundred times for taking the time out to write instructions for all the "younger, less-experienced Sandi" developers out there!

I'm curious how you got into programming in the first place, and at what point in your career you felt you could speak about design with authority (something I struggle with myself).

Also, if you weren't involved with programming - what would you be doing now?