DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

MC's picture

Unregistered

Feeds

aliases

  • MC
  • Mc

MC

1 year ago

in Static Utility Methods on Andy Palmer
You'd have to involve at least 3 classes and some DI library refs to accomplish your two strategies scenario. Even then you're still coupled to one of those 3 types (interface or abstract class supertype). This complexity may be appropriate at some times, but the setup/overhead/code is overkill for a great number of common cases. Think of Math.cos or StringUtils.reverse - very unlikely that'd you'd want to change those, much less do the plumbing for keeping instances of those utility class available in some global context.


Your post did leads me to wonder: what if static methods could be "extended" how might that work. I certainly haven't thought through that extensively. I'm sure the java language people have, and there must be great reasons why its not possible.



Maybe look at it this way: using "composition," you can make whatever instantiable utility classes to wrap any existing other classes/methods you find are otherwise unsatisfactory.

1 year ago

in Project Status Reporting In Small Projects on Playout Intelligence
Fantastic reference! Great looking report and extremely helpful information on the site!

Thanks so much -- great job!

Cheers,
MC

1 year ago

in The Ron Paul Revolution Targets Giuliani at Iowa Stop on The Iowa Independent
Good to see someone is starting to pay attention. I'm glad to see someone is starting to notice this Ron Paul campaign is for real.  The momentum is still in it's infancy compared to where it will be in a few months. 


There's going to come a point where the media will no longer be able to ignore Ron Paul.  Not only that, but the American people are starting to wake up from a deep slumber and they are starting to become aware, as this happens this campaign is going to grow exponentially. 

2 years ago

in A ignorância de Deus on Diário Ateísta
Bom dia, Carlos Esperança :)


citei-vos, num texto lá no meu blogue, e atribui a expressão ao Ricardo Alves, espero não tem metido água. Eu não vos excomungo e vocês por favor não me metam um processo por apropriação indevida de ideias magníficas e originais. Mas é que ficava a matar no meu texto.



PS- não fiz o link para o vosso blogue porque continuo uma incorrigivel preguiçosa. Mas como a vossa fama, vai muito além dos meus pobres devaneios bloguistas, espero que não se zanguem muito comigo. :)



Abraço
Returning? Login