tag:blogger.com,1999:blog-5221465892382713395.post4987114156193962745..comments2024-03-25T02:41:27.603-07:00Comments on The Software Simpleton: Ditching the Service Layer and IOC for Mxins in RubyPaul Cowanhttp://www.blogger.com/profile/11492473992478172640noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-5221465892382713395.post-41022313497190026352021-11-20T05:28:34.887-08:002021-11-20T05:28:34.887-08:00lab cabinet manufacturer
world777 bet
best tution ...<a href="https://aakarscientific.com/" rel="nofollow">lab cabinet manufacturer</a><br /><a href="https://world777admin.com/" rel="nofollow">world777 bet</a><br /><a href="https://guidesclasses.com/" rel="nofollow">best tution classes in gurgaon</a><br /><a href="https://www.century21jaipur.com/" rel="nofollow">Flats in Jaipur</a><br /><a href="https://cloudkeeda.com" rel="nofollow">cloudkeeda</a><br /><a href="https://cloudkeeda.com/what-is-azure/" rel="nofollow">what is azure</a><br /><a href="https://cloudkeeda.com/azure-free-account/" rel="nofollow">azure free account</a><br /><a href="https://cloudkeeda.com/azure-data-factory/" rel="nofollow">azure data factory</a><br />Techystickhttps://www.blogger.com/profile/10826101477181771564noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-63503156243966608412018-04-25T05:07:12.922-07:002018-04-25T05:07:12.922-07:00Nice post ! Thanks for sharing valuable informatio...Nice post ! Thanks for sharing valuable information with us. Keep sharing..<br /><a href="https://onlineitguru.com/ruby-on-rails-online-training-placement.html" rel="nofollow">Ruby on Rails Online Training India</a>Tejutejuhttps://www.blogger.com/profile/03536889753125110390noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-75583866078710772472011-12-10T20:06:56.411-08:002011-12-10T20:06:56.411-08:00No smart developer that cares about good OOD would...No smart developer that cares about good OOD would write a serious app in RoR. RoR's place is to develop stupid little applications.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-80523655732884723302010-08-14T09:44:27.411-07:002010-08-14T09:44:27.411-07:00If you are developing any application in asp.net t...If you are developing any application in asp.net then it will become more complex to find the bugs and errors.SO online software testing is the option to make it more easy.<br />-<a href="http://www.proprofs.com/quiz-school/" rel="nofollow">online testing</a>johnsonhttps://www.blogger.com/profile/06965798407799844038noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-64677428107137456432010-07-31T03:37:10.758-07:002010-07-31T03:37:10.758-07:00since 1892? wow! :)
Anyway - i think You underest...since 1892? wow! :)<br /><br />Anyway - i think You underestimate domain driven design a bit. it's not about those damn patterns. it's about way You handle business problems through exposing them explicitly. but yeah, CQRS is quite an overhead (despite that there are some great bonuses like no need for uber denormalized database and ORM).<br /><br />First time i saw mixins I finally get what 'composition over inheritance' actually means. In .NET i still can't understand in most cases how to remove inheritance chains.<br /><br />Closest thing in .NET to mixins is tagging classes with interfaces and writing extension methods for them. But that's quite unnatural and far from perfect.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-38211114937191433942010-07-26T05:15:05.626-07:002010-07-26T05:15:05.626-07:00For me, Rails is one of the biggest pulls rather t...For me, Rails is one of the biggest pulls rather than the Ruby language. Although a lot of the magic in Rails is possible thanks to Ruby's metaprogramming constructs.<br /><br />Also the Ruby community is strong with Gems for everything and a lot more people willing to contribute rather than just use Open Source.<br /><br />As far as a Zen like relationship with their code goes, there is just as much bad code as there is on other platforms. There are a lot of PHP hackers in the Ruby space so do not believe the hype that it is all pure.Paul Cowanhttps://www.blogger.com/profile/11492473992478172640noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-57748197323771083642010-07-26T05:08:02.724-07:002010-07-26T05:08:02.724-07:00I guess I'm trying to get to the bottom of wha...I guess I'm trying to get to the bottom of what advantages you see in implementing the code in Ruby over using C#. Is it simply that you don't need an IOC container, or do you think the Ruby code is more maintainable or inherently better in some way?<br /><br />I quote YAGNI because Ruby folks seem to have a kind of Zen like relationship with their code, that it must be as elegant as possible. Ie the Ruby Way.Iain Hunternoreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-19289465191450934672010-07-26T04:40:44.235-07:002010-07-26T04:40:44.235-07:00My first example has with the default parameter ha...My first example has with the default parameter has nothing to do with dynamic languages and has eveything to with......default parameters. No dynamic magic here.<br /><br />As I stated in the article, the Ruby way seems to be to use more methods, rather than lots of small classes which do one thing.<br /><br />Mixins are generally difficult in static languages which makes them not really a viable option. Mixins are piss easy in Ruby and are therefore used widely from what I can tell. <br /><br />I am not sure why you say I am trying to get Ruby to behave statically by using them or why you quote YAGNI.Paul Cowanhttps://www.blogger.com/profile/11492473992478172640noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-23182732867026164982010-07-26T04:29:48.492-07:002010-07-26T04:29:48.492-07:00I'm very new to dynamic thinking, but I'm ...I'm very new to dynamic thinking, but I'm not sure if you're trying to make Ruby behave more like a static language by using mixins. You're initial example when you just instantiate an object of type datascrubber is surely the true power of dynamic programming. If I had a new DataScrubber implementation then could I not override your base implementation and then instantiate my custom code as needed.<br /><br />From the outside looking in, it seems to me that the Ruby way of doing things is pragmatic and driven by You Ain't Going to Need It (YAGNI) philosophy. Complex "enterprise" thinking appears to be generally frowned upon.Iain Hunternoreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-26581272333172311112010-07-26T02:36:54.120-07:002010-07-26T02:36:54.120-07:00I am not trying to simulate an interface.
Being ...I am not trying to simulate an interface. <br /><br />Being able to do away with something as complex as an IOC container is a big bonus to me.<br /><br />Part of the reason I use an IOC container in .NET is that mocking the services is easier that way.<br /><br />I still definitely advocate an IOC container in C# but there really is no need in Ruby.<br /><br />This is just not needed in a dynamic language.Paul Cowanhttps://www.blogger.com/profile/11492473992478172640noreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-57958792468762300222010-07-26T02:18:08.152-07:002010-07-26T02:18:08.152-07:00Full disclosure I write C# for cash money, and rea...Full disclosure I write C# for cash money, and really enjoy the framework.<br /><br />Looking at your examples Mixins seem to be a difficult or perhaps obtuse way of simulating an interface in Ruby. To me the C# service layer is a cleaner design, made extremely flexilbe by using DI. Am I missing something??Iain Hunternoreply@blogger.com