This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello. I've been working in the reservation part of the assignment and i've seen what could be a bug in the data class. The method find in this class compares the first value using the equals (what is right), but in my case, i've created new records that i've added to the database and some of them in the first field doesn't have 5 digits as in the original database. Like this, the method find doesn't work. I've changed the line
Has anyone done this? Is it realy necessary? Well, we can allways argue this in the design choices file ! Thanks, Miguel
Hi Miguel, I guess most people (as I have ) would just trim the values on the presentation of the data on the GUI i.e on the View as well as on any equality checks between the View and the Model. I think that's right. As far as Internationalisation goes, I should think trailing spaces meaning nothing is pretty Universal. regards