@paweldabrowski
CTO @ iRonin.IT, Architect, AWS Certified
I am a software engineer with over 14 years of experience in building commercial web applications of various sizes and technology stacks. I am passionate about writing for both human beings and computers. I work as a CTO @ iRonin
Consultations
No blogs yet.
Thank you Paul Keen for your feedback. I used the builder name instead of strategy because for me this name is more popular in the Rails community based on other people's opinions and my experiences. I agree that value object and decorator patterns are totally different and they are different in this article so I'm not sure how can I respond to this part of your comment.
Ruslan Hassonov the approach with .each will load all records into memory and then allow you to access them - this can crash your application if the file is big. From the other side, .foreach goes through every line of the file without loading it into memory at once. It's similar to find_each method in Rails when you deal with many records.
Sahil Chandravanshi when it comes to writing and consistency, I always have one quote in mind: "You don't have to create a masterpiece every day. Sometimes you just need to paint" - this helps me when I struggle with being consistent