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

Im learning JAVA!

Name: Anonymous 2007-07-15 23:28 ID:cz/pvUV6

isn't that great?

Name: Anonymous 2007-07-15 23:29 ID:j3QX0hPZ

Any idiot can learn Java. It's a language designed for idiots.

Name: Anonymous 2007-07-15 23:34 ID:GaALeHw7

And no, it's not great.

Name: Anonymous 2007-07-16 3:48 ID:7LaJYcyT

Read SICP

Name: Anonymous 2007-07-16 3:50 ID:t9UT/TVk

Im becoming an idiot ON MY OWN WILL!
isn't that great?

Name: Anonymous 2007-07-16 6:55 ID:JOZn/gxl

lern pointers and recursion and then come back!

Name: Anonymous 2007-07-16 6:56 ID:Heaven

>>6
recursion sucks

Name: Anonymous 2007-07-16 7:30 ID:BdoyyQh7

Java is fine.

Name: Anonymous 2007-07-16 7:55 ID:SDUBZ1QV

>recursion is something my tiny brain cannot understand, and thus it must suck

fix'd

Name: Anonymous 2007-07-16 8:53 ID:kxFubweF

void recursion(bool does_it_suck)
{
 bool it_sucks = true;
 recursion(it_sucks);
 return;
}

Name: Anonymous 2007-07-16 8:54 ID:Heaven

groovy, man

Name: Anonymous 2007-07-16 8:58 ID:7LaJYcyT

>>7
Lol, you're a really, really, really stupid Java programmer and you go and tell us here, "HAY GUYS I AM REALLY REALLY REALLY STUPID".

Name: Anonymous 2007-07-16 10:53 ID:IAh2hag9

5.2.3 If you don't understand recursion, refer to 5.2.3

Name: Anonymous 2007-07-16 11:26 ID:Heaven

if you don't understand recursion, run this:
USING: alien kernel ;
: fork ( -- n ) "int" "unistd" "fork" { } alien-invoke ;
\ fork compile
[ fork drop dup call ] dup call

Name: Anonymous 2007-07-16 11:41 ID:Heaven

>>14
shutup suave alien factor

Name: Anonymous 2007-07-16 12:35 ID:Heaven

>>12
no i'm a really really EXPERT C PROGRAMMER and fluent in x86 and MIPS asm, and recursion sucks.
recursion -> stack abuse -> sucks

Name: Anonymous 2007-07-16 14:06 ID:dMHxfkOt

>>16
recursion -> stack abuse -> sucks
Loooooooooooooooool faggot hasn't herd bout my tail call optimization

Name: Anonymous 2007-07-16 19:52 ID:B7mPd6bV

>>16
most non tail call optimizable uses of recursion end up in you having to use a vector to simulate the stack, faggot.

Name: Anonymous 2007-07-17 2:38 ID:Heaven

>>17,18
i won't even bother explaining it to you faggots.

Name: Anonymous 2007-07-17 4:02 ID:jsRmPBPh

>>19

Explain it to me then.

Name: Anonymous 2007-07-17 4:13 ID:Heaven

>>20
from wikipedoia
In computer science, tail recursion (or tail-end recursion) is a special case of recursion in which the last operation of the function is a recursive call. Such recursions can be easily transformed to iterations. Replacing recursion with iteration, either manually or automatically, can drastically decrease the amount of stack space used and improve efficiency. This technique is commonly used with functional programming languages, where the declarative approach and explicit handling of state promote the use of recursive functions that would otherwise rapidly fill the call stack.

i said
no i'm a really really EXPERT C PROGRAMMER and fluent in x86 and MIPS asm, and recursion sucks.

if you don't get it now you're a sad fuck

Name: Anonymous 2007-07-17 5:05 ID:jsRmPBPh

I don't get it.

Name: Anonymous 2007-07-17 5:22 ID:EG1zhSKl

>>18
Truth, with the added penalty that this vector may take more RAM than the call stack depending on its implementation and what you store in it. In any case, it's either tail call, which can run in O(1) space, or it runs in O(n) space - just like the iterative version, only much simpler to think and write.

>>19
Fag doesn't know about SICP?

Name: Anonymous 2007-07-17 8:13 ID:k0DQZ9hA

This thread needs moar SICP readers, it explains how recursion and iteration are computationally equivilant.

Pull your fingers out of your asses and read SICP, for fuck sake.

Name: Anonymous 2007-07-17 9:13 ID:QMP9VOTy

Where is my infinite tape measure?

Name: Anonymous 2007-07-17 9:59 ID:MkX388RP

What is this SICP fetish on this board

Name: Anonymous 2007-07-17 10:17 ID:K+F4a1T8

Better than a J2EE/.NET fetish, surely

Name: Anonymous 2007-07-17 12:17 ID:EG1zhSKl

>>26
How's that related to this thread? Or is it just your way to say "I've read SICP"?

Name: Anonymous 2007-07-17 15:10 ID:k0DQZ9hA

>>26
I dunno, it's not like even the majority has read it.

Name: Anonymous 2009-03-06 15:22


Read will turn into a fat 60   year old dude   with a huge   array instead Average.

Name: Anonymous 2010-12-21 10:36

Name: Anonymous 2011-02-03 0:27

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