Screw ASM, playing with batteries, resistors, and wires on your motherboard is the next wave.
Name:
Anonymous2005-02-04 10:17 (sage)
>>9
But in Ruby, you write [1, 2, 3].length to get the length of your array, instead of len([1, 2, 3]) in Python which is strange to me because Python mixes both syntax (and I don't really like this).
I really hope Ruby will reach Python's speed in the future because I love this language (but it's slower than Python for a lot of programs). Well, I'll troll a bit and tell you to try this:
Python> a = [ x**2 for x in xrange(100000) if x % 2 == 0 ]
Ruby> a = (0 ... 100_000).select { |x| x % 2 == 0 }.map { |x| x**2 }
An example where Ruby is 5 times faster ;)
Interestingly enough, the book consist of 25% bawwing that C is to hard, 50% historical anecdotes, 25% C rules that any serious C programmer already knows, 0% expert programming and 0% deep secrets.
The problem was caused by bad parsing of arguments, but it was facilitated by inadequate classification of arguments between switches and filenames. Many operating systems (e.g., VAX/VMS) distinguish between runtime options and other arguments (e.g., filenames) to programs, but UNIX does not; nor does ANSI C.
I rest my case.
Name:
Anonymous2008-01-21 12:51
>>47
Way to bump a three years old thread, faggot.
Name:
Anonymous2008-01-21 14:19
>>48
Way to hump a three years old faggot, thread.
I was looking for a bento box, it couldn't be pinku (thats japanese for pink) or any girl color. It had to be of 2 or more kotoba (thats japanese for 2 compartments) and had be be chibi (small) sized. And had to be really kawaii (cute). Also It had to be about 10-20 bux. And the seller had to post pics of it first (i wanted to make shure it was kawaii [cute]). And it would have been nice if it came with matching chopstick holder (WITH chopsticks). OH! and it CANNOT have had any cartoon pictures, or been made out of plastic. It has to be made of ceramic, or something like that. Also it would have been nice if it was made in japan. and not in china or corea (korea) or whatever. I had found a bento box similar to the one im describing in e-bay, but it was 1 kotoba, and i didnt want my gohan (rice) to touch my other things (it can get wet and i would not like that, plus 2 compartments looks more kawaii).
Name:
Anonymous2009-03-18 3:29
Don't call me gay, but I need some mary jay!
Marijuana MUST be legalized.
Name:
Anonymous2010-05-21 22:08
At the very least, I think we can all agree that Ruby is an acceptable Lisp.
Ruby is for idiots who can't understand scala's type system.
Also ruby's support for higher order programming is nothing but a huge hack. method != lambda != proc != block WTF
How people can call this language elegant is beyond me.
no, ruby is for rockstars and code ninjas who want to pretend programming is cool and hip when in reality programming is about intellect and meticulousness.