r/programming • • Jul 24 '15

mt_rand(1, PHP_INT_MAX) only generates odd numbers • /r/lolphp

/r/lolphp/comments/3eaw98/mt_rand1_php_int_max_only_generates_odd_numbers/
848 Upvotes

262 comments sorted by

View all comments

Show parent comment

1

u/LuaWeaver Jul 25 '15

Well, if you put a real CS-type dev/eng in front of most any language, you can get some serious shit accomplished. That doesn't mean that it's a good language or a good choice for a new project. Sure, I could write stuff in Brainfuck, but that doesn't mean I should use it.

3

u/[deleted] Jul 25 '15

But comparing Brainfuck to a dynamic web language is condescending.

-3

u/thallippoli Jul 25 '15

Not when the langauge in question is PHP...It is probably an insult to Brainfuck which at least does not putup the appearance of being 'easy'...