Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Computer Science

Name: Anonymous 2006-10-30 14:52

I might be taking a course in Computer Science at a Uni soon, what languages are commonly used @ Computer Science?

Name: Anonymous 2006-11-01 14:59

>>29
Functional programming, eh?

For example, if you want to change every element in an array:
array.map! do |elem|
    elem * 10
end

If you want to summarize every element in an array:
sum = array.shurg_dunno_lol(memory => 0) do |elem, memory|
    memory += elem
end

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List