Embarrassing newbie mistake
-
Once upon a time in a galaxy far, far away… When I was a new (less than 1 year) programmer and working on an IBM 1401 with no math co-processor, I noticed a program that took a long time to do percent calculations (divide). In those days a divide was a software subroutine (a.k.a. function) provided by the vendor to achieve desired results. I had the bright idea improving o n it and figured that if you multiplied the numerator by 100 and then looped through a routine that subtracted the denominator you could get there faster. And it worked. Spectacularly. Until… When a numerator came through that was much larger than the denominator the machine virtually locked up. Lessons to new programmers, always test all use cases and never assume your data will be good – always assume the worst where data is concerned. Or as I heard somewhere: no matter how good the validation, some
A Techrom is one of the best app stores where you” ll get all the things for the best mode app.Welcome to Kerala University. Here, KUORG we provide the latest updates on various topics globe. We are on of the top and also the fastest growing news site around the.youtube plus Free Apk – It tends to be said that Spotify Music is the “ruler” in the field of giving music online as this application claims