The Rule of Three
11–20 of 31 posts
Re: The Rule of Three
#12If I accept that Stack Overflow or Discourse are reusable, because you can run them on different urls with different graphics, topic, moderators and users, then every application, for example Photoshop, is reusable in the same way, because multiple people use it to perform multiple tasks with images.
What you do with Discourse is good engineering, but there is nothing special about it. Every serious CMS, like WordPress or Drupal must inevitably be usable more than once.
Re: The Rule of Three
#13What hyphenated site is he referring to?
Re: The Rule of Three
#14Re: The Rule of Three
#15At first I thought this might have been a repost of some refactoring advice I heard of long ago. A quick google finds a reference on wikipedia [0]. Essentially it goes like this: The first time you implement something, just do it. The second time you implement the same thing, copy it. The third time, refactor. The OP seems like an interesting variation on the same theme. [0] http://en.wikipedia.org/wiki/Rule_of_three…
This is similar to Jeff's rule "b". The only difference is cause and effect ordering. Jeff suggests you build it, reuse it, and when you reused it thrice in different applications, than call it a general purpose library. It seems to me that Jeff misunderstood what rule of three means, or he's just trying to re-tell the Wikipedia article in his own words. The "Rule of three" you quoted is how it should be done. Create…
Not at all - he's actually making a much deeper point: that something cannot really claim to be reusable until it has actually been used in three different places.
Because if you writer a reusable component for just one product, chances are very high that even if it's technically reusable, it will end up conceptually coupled to that one product too much to actually be useful elsewhere.
Re: The Rule of Three
#16Wow what a horrible way to advertise your products. Disguise your advertisements into some substanceless article seemingly useful.
Re: The Rule of Three
#17Wow what a horrible way to advertise your products. Disguise your advertisements into some substanceless article seemingly useful.
[deleted]
The software is open-source, so obviously anybody can set it up and use it themselves.
Re: The Rule of Three
#18Wow what a horrible way to advertise your products. Disguise your advertisements into some substanceless article seemingly useful.
[deleted]
On http://www.discourse.org/faq/ you get both what just quoted, at the top, and below:
Should I switch to Discourse right now?
Probably not.Re: The Rule of Three
#19Wow what a horrible way to advertise your products. Disguise your advertisements into some substanceless article seemingly useful.
Re: The Rule of Three
#20And then, you've just bloated your component to support different use cases and made it slower, harder to understand, and potentially buggy; all in the name of "reusability". And it takes you 3 times longer to implement this shared component vs just making copy & paste single use solution.
Game development is truly an art. Knowing when to just "get it done" vs "write a more reusable component" is something that I've seen very few people in game development be able to get right.