#perl - Sun 22 Apr 2007 between 23:56 and 23:59



JuggaloAntso anyone see anything im missing to shorten that code?
ologydesigning shit to break when updated is a bad practice
JuggaloAntits $b=0; not just $b;
and its x and y now.
oferare you trying to write obfuscated code ?
JuggaloAntnah. just trying to make it the shortest possible
thats how golf is played =)
oferyeah, you can do some stuff.
RichiHofer: the || '' makes sure i do not get undef?
oferRichiH, yeap.
RichiH, it's just fault-tolerance
not really needed
JuggaloAnt, paste new code, I'll shorten it for you
webtrollwow, i never seen so many nerds in my life... a waste too, considering perl is a joke of a programming language and targetted for use with noob programmers. why not learn something and actually work with a real language?
oferperlbot, ops
perlbotthrig paladin somni kitchen bod rindolf Chris62vw khisanth tybalt89 simcop2387 sili tag BinGOs beth
actionRichiH briefly ponders sorting the thing
RichiHbriefly ponders sorting the thing
ofer: the input data will be very clean, but yah, i added it
JuggaloAntfor$x(2..97){$y=0;for(2..$x){if($_!=$x&&!($x%$_)){$y=1;}}if(!$y){print"$a is prime.\n";}}
for$x(2..97){$y=0;for(2..$x){if($_!=$x&&!($x%$_)){$y=1;}}if(!$y){print"$x is prime.\n";}} **
actionRichiH decides sorting is probably not worth it
RichiHdecides sorting is probably not worth it
oferJuggaloAnt, how many bytes ?
JuggaloAntthe shorter the better.
its 87 now i think.
oferit's 89
JuggaloAntfrom the =0

Page: 5 12 19 26 33 40 47 54 61 68 

IrcArchive