<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for kazim59</title><link>http://disqus.com/by/kazim59/</link><description></description><atom:link href="http://disqus.com/kazim59/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 29 Aug 2013 14:30:17 -0000</lastBuildDate><item><title>Re: The truth about good design </title><link>http://kazimzaidi.com/2013/08/29/the-truth-about-good-design/#comment-1022291176</link><description>&lt;p&gt;@Waseem Ahmad That's the irony in design world. And that's how most of us are. As an example: many users would come to your website, won't find it *interesting*, and leave. It did not make an impression on them. But they can't tell what could you've done differently to make that impression.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kazim59</dc:creator><pubDate>Thu, 29 Aug 2013 14:30:17 -0000</pubDate></item><item><title>Re: Ruby on Rails Code Quality Checklist - Matthew Paul Moore</title><link>http://www.matthewpaulmoore.com/ruby-on-rails-code-quality-checklist#comment-19855567</link><description>&lt;p&gt;Alright.&lt;/p&gt;&lt;p&gt;I'm not in favour of STI when the only thing common is "data structure". The models should also share the domain. Like the example you just gave above B.Vandgrift, I do not see the four models sharing anything but 'data structure'. They don't share domain.&lt;/p&gt;&lt;p&gt;As an another example, when doing Activities in my application, I used STI for different kinds of activities. like AddFriendActivity, and so on. Many reasons for this. &lt;br&gt;1) I can add new activities, without writing new tables/models.&lt;br&gt;2) My activities don't differ in database fields, but differ in the code for generating them and distributing their feed. Even that has a lot of common code, which I've put in the parent Activity model.&lt;br&gt;3) View rendering of all activities are same, so I don't have different controllers. My controllers &amp;amp; views deal with the Activity class, and don't have to care about which kind of activity! All activity objects have #render method, overridden whenever needed, to get displayed properly.&lt;br&gt;4) And I could've used polymorphic associations for doing all this stuff, as the author of the post would suggest, but I preferred performance and simple OOP over other things.&lt;/p&gt;&lt;p&gt;Inheritance is a beautiful OOP principle. And in ORM, one of its names is STI.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kazim59</dc:creator><pubDate>Sun, 11 Oct 2009 14:41:03 -0000</pubDate></item><item><title>Re: Getting Paperclip Working In Windows</title><link>http://blog.jonathanhinson.com/2009/04/27/getting-paperclip-working-in-windows/#comment-16691753</link><description>&lt;p&gt;Saved my day. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kazim59</dc:creator><pubDate>Tue, 15 Sep 2009 21:48:27 -0000</pubDate></item></channel></rss>