There's more than one way to do things | |
PerlMonks |
Re: The beauty of MMDby jdporter (Paladin) |
on Jul 28, 2005 at 18:31 UTC ( [id://479078]=note: print w/replies, xml ) | Need Help?? |
Let's play with the wording a bit and see if we can clear that up, shall we?If we're going to play that game, I'll have a go: ... when it's necessary, it simplifies the code and is a better solution ... Seems to me that in cases where it's necessary, it doesn't just simplify the code and make a better solution — it makes a solution (and the code) possible. That's what "necessary" means. More to the point, you completely ignored the part where tilly said (and which I second): To be convinced I'd need to see a problem which interests me that I have trouble solving without MMD, which has a very nice solution using MMD ... (Aside: why did you call tilly "Ben"? Seems to me that is just making the argument unnecessarily personal — sort of a virtual "grabbing your opponent by the lapels".) But anyway... MMD potentially allows compiler optimizations that aren't possible when dealing with all of the potentially buggy programmer alternatives.What compiler optimizations are you thinking of? Seems to me there are precious few possible compiler optimizations in dynamic languages relative to their static brethren. Oopsie. The code silently fails. That is an argument for prototypes on methods, not for MMD specifically. This is a debate that regularly comes up in the Perl community: how much sanity checking is required? I fall in the camp that believes perl should stay out of my way unless and until I ask otherwise. Perl is not a B&D language. Strict is off by default.
In Section
Meditations
|
|