Seems like a spin off of five.js https://github.com/jackdcrawford/five
Jezen/is-thirteen: Check if a number is equal to 13
21–30 of 57 posts
Re: Jezen/is-thirteen: Check if a number is equal to 13
#22Re: Jezen/is-thirteen: Check if a number is equal to 13
#23This is a great example of why it is important to use modules. If I were to try implementing this myself, I might have thought to check for the Chinese string "十三", but I doubt I would have known to check for the uppercase version of the Chinese string "拾叄". More seriously, does anyone know what "uppercase" means in Chinese? Do they literally have two (seemingly unrelated) forms for each of their characters?
I̶ ̶d̶o̶n̶'̶t̶ ̶k̶n̶o̶w̶ ̶w̶h̶y̶,̶ ̶b̶u̶t̶ ̶I̶'̶m̶ ̶h̶a̶r̶d̶l̶y̶ ̶a̶n̶ ̶e̶x̶p̶e̶r̶t̶ ̶i̶n̶ ̶C̶h̶i̶n̶e̶s̶e̶.̶ ̶T̶h̶e̶y̶'̶r̶e̶ ̶n̶o̶t̶ ̶u̶s̶e̶d̶ ̶m̶u̶c̶h̶.
EDIT: Nevermind me, see xiaq's much better comment.
Re: Jezen/is-thirteen: Check if a number is equal to 13
#24This is a great example of why it is important to use modules. If I were to try implementing this myself, I might have thought to check for the Chinese string "十三", but I doubt I would have known to check for the uppercase version of the Chinese string "拾叄". More seriously, does anyone know what "uppercase" means in Chinese? Do they literally have two (seemingly unrelated) forms for each of their characters?
https://en.wikipedia.org/wiki/Chinese_numerals#Standard_numb...
Re: Jezen/is-thirteen: Check if a number is equal to 13
#25This is a great example of why it is important to use modules. If I were to try implementing this myself, I might have thought to check for the Chinese string "十三", but I doubt I would have known to check for the uppercase version of the Chinese string "拾叄". More seriously, does anyone know what "uppercase" means in Chinese? Do they literally have two (seemingly unrelated) forms for each of their characters?
Only numerals have upper cases to prevent tampering. For example, you can alter 一(one) to 十(ten) pretty easily, but not 壹 to 拾.
Re: Jezen/is-thirteen: Check if a number is equal to 13
#26My first reaction was, "Haha. That's fun code-as-parody." Then I looked at the unit tests. [1] Now my reaction is more like, "Your commitment to this bit is both admirable and slightly disturbing." [1] https://github.com/jezen/is-thirteen/blob/master/test.js
I think that either [1] That IS the joke, or [2] the issues are where the good jokes lie. Maybe the real joke is in the commits?
Re: Jezen/is-thirteen: Check if a number is equal to 13
#27Can't someone do this in about 4 characters of Perl?
Re: Jezen/is-thirteen: Check if a number is equal to 13
#28Earlier quoted context omitted.
I think that either [1] That IS the joke, or [2] the issues are where the good jokes lie. Maybe the real joke is in the commits?
It's pretty much brilliant top to bottom. I starred the hell out of this repo.
Re: Jezen/is-thirteen: Check if a number is equal to 13
#29My first reaction was, "Haha. That's fun code-as-parody." Then I looked at the unit tests. [1] Now my reaction is more like, "Your commitment to this bit is both admirable and slightly disturbing." [1] https://github.com/jezen/is-thirteen/blob/master/test.js
I think that either [1] That IS the joke, or [2] the issues are where the good jokes lie. Maybe the real joke is in the commits?
This whole thing is hilarious.
Re: Jezen/is-thirteen: Check if a number is equal to 13
#30And for the Java/Enterprise equivalent: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...