Don't build internal libraries - build what you need and use parametric polymorphism. You'll get reuse for free.
-
-
Replying to @mpilquist
what do you mean by this? (perhaps I realize the irony in asking about a concrete example)
1 reply 0 retweets 1 like -
Replying to @oacgnol
Hard to articulate in 140 but the focus should be on something useful. Reuse is "accidental" by nature of parametric polymorphism.
2 replies 0 retweets 3 likes -
Replying to @mpilquist
Definitely been more persuaded of this (mainly the first half) recently: YAGNI, and it's just more code to test/maintain/fail.
1 reply 0 retweets 0 likes -
Replying to @propensive @mpilquist
but don't you end up making libraries anyway once you realise many projects could reuse that code?
1 reply 0 retweets 0 likes -
Replying to @NicolasRinaudo @mpilquist
Yes, but that's the outcome: it should be forked off into a library, which might not get you closer to your goal.
2 replies 0 retweets 0 likes
Of course, a library might be the greatest net good, but making libs often doesn't help finish a one-off task.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.