misuse

Is there a Using pattern that does not rely on IDisposable ?

I am wanting to create an internal messaging system that can tell me the duration of some code being called. I was thinking for ease of use, to make the SystemMessage class implement IDisposable. I would set a time stamp during the SystemMessage's constructor and if the Dispose was called, I could figure out the duration. The prob...

Building a case to migrate away from the use of tools or technologies in ways they were never intended to be used

I've seen some pretty strange use of technology. For example, one place I worked was using Microsoft Message Queuing to send real time streaming VoIP data between servers. I work as a consultant and many times the person responsible for these decisions is no longer at the company. The problem is that from the perspective of non-technic...

Example of Spring missuse

Our software shop does a big enterprisey system and one of its part is a sophisticated monitoring and log viewer tool. Recently one of our teems rewrote it, since previous version was really lacking some essential features. And it was really ugly. Since this team is bored with enterprisey stuff and they heard of IoC and Spring ("Seem...

Concerns regarding potential Regex misuse?

Hi, I have the following regex: ^[a-zA-Z](.*)[a-zA-Z]$ on both the Javascript and PHP side that I have been using for validating a person's name and message fields on a contact form (no database interaction). It basically ensures that the first and last character in the field are alphabets, and allows anything else in-between. My conc...