NYCrb / devpunks

http://devPunks.com modern development site for podcast & youtube videos
MIT License
16 stars 1 forks source link

[Talk Proposal] StrictMoney: Value objects in practice #71

Closed fhwang closed 1 year ago

fhwang commented 4 years ago

Abstract

Value objects are small immutable objects where equality is not based on identity. I recently made use of this pattern with a gem called StrictMoney, which treats financial amounts as values that support specific mathematical operations, while also preventing programmers from accidentally using the wrong currency and creating difficult-to-trace bugs.

Using StrictMoney as an example, I'll walk us through a number of topics around object design and Ruby, including:

Bio

Francis Hwang is the founder of NYC.rb and co-founder of Gotham Ruby Conference. These days he is an independent software consultant specializing in software architecture, organizational process, and observability.

snuggs commented 4 years ago

@fhwang good to see you here! :-) talk looks awesome.

dmitrinesterenko commented 4 years ago

@fhwang can you speak at the June 10th meetup? 5:30-ish to start.

fhwang commented 4 years ago

Sure thing!

dmitrinesterenko commented 4 years ago

@fhwang you're on!