Comment On get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

"As part of my new role for a software development firm," writes David Mayer, "I was assigned to sift through some code looking for bugs in the dictionary and spellchecking system. That's how I came across a function called get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function." [expand full text]
« PrevPage 1 | Page 2 | Page 3 | Page 4 | Page 5Next »

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-04-18 19:55 • by Silverhill
379471 in reply to 379374
Real Advertiser:
Silverhill:
Real Advertiser:
If I was paying a newspaper to run my ads and they decided to put out an issue whenever they darn well felt like it, I'd immediately pull my ads and sue them for damages.
BFD. You're not paying Alex anything for his freely-provided work, and you think you have a right to complain? Grow up, weenie.
Oh...you must have the ads on the side blocked then.

How does your foot taste?
No, I don't have the ads on the side blocked; I just don't let them bother me. (Some of them are even interesting, BTW, and I've looked at what they offer.)

Feel free to report on the taste of your foot, instead.

(As depressed cheescake asked, "[W]hy do *you* give a shit about whether advertising revenue is well spent on this site?")




Addendum (2012-04-19 17:34):
(Also, note that the adas are served to the browser even if the main content has not been updated. The advertisers still get the agreed-on number of displays, as long as people at least check to see if the site has updated.)

Addendum (2012-04-19 17:34):
s/adas/ads/

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-04-21 17:30 • by someone else (unregistered)
379696 in reply to 379293
Darth Paul:
The first .NET project I worked on made use of "temperate" variables and "temperate" tables.

Perhaps it was the same guy?


Variables and look-up tables are premature optimizations. Real programmers use functions for everything. And "temperate" "functions" sort-of exists:
http://en.wikipedia.org/wiki/Distribution_%28mathematics%29#Tempered_distributions_and_Fourier_transform

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-04-23 08:11 • by Alexis (unregistered)
The developer who wrote this function opted for the solution requiring absolutely no thought whatsoever. It's actually infuriating to see something this lazy.

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-04-23 08:46 • by beefiron (unregistered)
379732 in reply to 379177
Not to mention threeteen

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-05-15 15:54 • by A. Nonymous Coward (unregistered)
' would return: thirteen million three hundred and eighty seven thousand two hundred and eighty one.


TRWTF is that when writing numbers out like this, an 'and' signifies a decimal point.

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-06-20 14:57 • by lol dalmations (unregistered)
383568 in reply to 381241
I've seen "One Hundred and One Dalmations".
I've seen en_US sentence punctuation inside a quotation.
so,
Is it known in the US as "One Hundred One Dalmations"?
Is it known in the US as "One Hundred One Dalmations?".

Re: get_words_from_a_number_which_is_passed_as_a_perimeter_into_this_function

2012-07-20 14:44 • by streaky (unregistered)
This guy clearly studied at Gnome University's School of Annoying to Write Code.
« PrevPage 1 | Page 2 | Page 3 | Page 4 | Page 5Next »

Add Comment