Nadav Blum

Joined

970 Experience
9 Lessons Completed
0 Questions Solved

Activity

Posted in Autosave Draft Records - Part 1 Discussion

So nice ! Thanks

Posted in Dependency Inversion Principle Discussion

Thanks for the eposide.
I don't understand why there is a need to say Server.new(provider: :digitalocean) (last line in code)
Shouldn't the provider be encoded only by the object passed to the perform method ?

Posted in Single Responsibility Principle Discussion

Thanks, great and really interesting episode  (as always...) !
I have two questions: 
1) What do you think about turning the Server::SSH class into a module, and mixing it in into the two other sever classes (instead of using inheritance).
2) Using service objects to do stuff is a similar technique right ?

Thanks

Posted in Stimulus JS Framework Introduction Discussion

Brilliant!

Posted in Decorators From Scratch Discussion

Thanks. Great Episode !
I have one remark though: Is it really a good idea to use the view context in the decorator, for creating things like html tags ? Doesn't this create a coupling of the decorator with the view format? I mean you this way, you will need a different decorator for xml or json views (which do not use content_tag helpers etc...)

Great episode! Thanks.
I think that in the delegate statement shown (at around 19:50), the suffix 'to: customer' is missing.