Categories
TechBiz

#php on irc.he.net harbors a racist coder

16:43 < barce> @niklas` i’m writing a connect4 game, and noticed that when i traverse
diagonals acutely or gravely, the only diff between the functions is their
operators: “>=” or “<=". 16:43 < barce> “++” or “–”
16:44 < barce> so instead of if ($x < $limit) $x++; i want to define an operator before hand. 16:44 < barce> e.g. $op = “++”; if ($x < $limit) $x{$op}; 16:44 <+impl> so you save one line of code?
16:45 <@horros> Now why the hell would you want to do that?
16:45 <@feti> i’m successfully confused
16:45 < barce> ya. why not?
16:45 <+impl> because it’s stupid
16:45 < barce> why is it stupid?
16:45 <+impl> Because you would have to implement runtime operator resolution so that you
don’t have to have an else { } block
16:45 < barce> not being curious is stupid.
16:46 < barce> right.
16:46 < barce> that would be pretty hard to do.
16:46 <@horros> No, being curious is good.
16:46 < barce> so i’m asking if there’s a language like that.
16:46 <+impl> I’m sure you could nigger rig it in ruby

Please, come on down to #php irc.he.net and let this impl dude know what a blight to humanity he is.