loading...
Sam Rose profile picture

Sam Rose

I spend a lot of time thinking about code, how it should be written and why. Have worked on big things and small things. For every book I read, I buy 5 more.

Work

Backend Developer

All 26 comments

Get the number of days between two dates in Go

That sounds extremely reasonable. 🙂

Should behavioural changes be considered breaking changes under SemVer?

Further still, what do you think about performance changes?...

Should behavioural changes be considered breaking changes under SemVer?

I think I'd say yes, in most cases. If it's something that ...

What are your worst coding habits?

If I suggest some cleaner of more efficient approach in a P...

Which editor do you use when opening files like .bash_profile, etc?

Hilariously, vim in a vscode integrated terminal. I don't k...

CSS can do that?

This has blown my mind. Thank you so much for sharing! :)

Is it necessary to learn touch typing?

I'd go with no. Further to that, I'd probably place learni...

Checking My Comments

I'm an ardent believer in turning comments in to methods, a...

If you could change one thing about learning to code, what would it be?

I'd love there to be a single, clear path. Instead of hundr...

API Design: In The Wild

Thank you so much ❤️ Great to find others who like this stu...

What's your goto motivational quote?

This is fantastic. Thanks for sharing!

Get the number of days between two dates in Go

Not quite as robust as I'd like. Not all days have 24 hours...

Design Patterns in Java

Looking at your list, there are some patterns there that co...

API Design: Errors

Definitely good arguments to be made in favour of that, but...

API Design: Errors

That looks perfectly reasonable. I was mostly avoiding Go's...

dev.to Discord server?

Yeah, for sure. It's worth thinking about. My thinking is t...

Workspace Wednesday: Show off your desk/computer setup!

This is probably the tidiest it has ever been!

API Design: Optional Parameters

Nice!

API Design: Optional Parameters

For sure! I talk about these in the second half of the post...

API Design: Optional Parameters

Oh that's super nice, I had no idea that was possible!

API Design: Optional Parameters

Thank you so much! I'm glad you enjoyed it. If you don't mi...

Java Inheritance Puzzle

I think it's 1, and it's because the object is always of ty...

Java String Puzzle

False. :)

Is using git without the command line cheating?

Not at all! If it works for you, it works for you. 😄

The Best Books for New Devs + Bonus Twitter Thread

This one is a little strange, but I recommend it to everyon...

Who or what inspired you to do programming?

I was 17 and saw a friend making a game in C#, thought it l...

loading...