| from Angela Bradley Hello Programmers! This week's issue of the About.com programming newsletter features articles about normalizing your database, optional method perimeters with hatches in Ruby, and adding business days to a date in JavaScript. We also take a look at Java declaration statements. Have a great week, and s super holiday weekend! | ![]() | In the Spotlight | Normalizing Your Database If you've been working with databases for a while, chances are you've heard the term normalization. Perhaps someone's asked you "Is that database normalized?" or "Is that in BCNF?" All too often, the reply is "Uh, yeah." Normalization is often brushed aside as a luxury that only academics have time for. However, knowing the principles of normalization and applying them to your daily database design tasks really isn't all that complicated and it could drastically improve the performance of your DBMS. | | Optional Method Parameters with Hashes Ruby provides a mechanism for optional method parameters. However, this mechanism is not very flexible. You cannot pass them by name, out of order, or omit some of the parameters. This article outlines how you can use hashes to emulate keyword or named parameters. This gets around these limitations with a little Ruby magic and just a little extra syntax. | Add Business Days to a Date You dont need a complicated loop to be able to skip over the weekends when adding or subtracting business days. A half dozen lines of code in a method added to your existing date objects will quickly and efficiently add the functionality without needing a loop. | Sponsored Links | ![]() |  | | Programming Ads Advertisement |  |