Page 2 of 6

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 10:00 pm
by slime
First-year CS courses tend to use something like Java so they can teach universal programming basics without needing to teach things like pointers and memory management at the same time.

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 10:13 pm
by bartbes
Also, forced usage of classes.

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 10:56 pm
by ishkabible
Also, forced usage of classes.
my point exactly when i said that Java teaches OO. if you can't learn OO from a language that damn near forces you to use then you are in some kind of predicament for which i have no cure.

anyway, i would like to know how to add this to the wiki. how is that possible? it says on the wiki that all of this stuff is automatically generated, how do i coax it into "generating" my lib?

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 10:59 pm
by slime
Java teaches OO, but not necessarily the correct usage of OO. :P

Anyway, this is getting pretty off-topic. You could make this only 1 line of goodness if you changed the newlines to "; "!

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 11:30 pm
by bartbes
You create a page for this library and follow this: http://love2d.org/wiki/Guidelines#Libraries.
Adding those tags (and possibly regenerating the index) should make sure it shows up.

Re: 32 lines of goodness, yet another OO lib

Posted: Thu Jul 07, 2011 11:40 pm
by Robin
kikito wrote:Java's main strengths are its (relative) performance,
Compared to what, Ruby? :P
slime wrote:You could make this only 1 line of goodness if you changed the newlines to "; "!
Or " ". Lua is smart and doesn't need semicolons to separate lines.

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Jul 08, 2011 1:14 am
by slime
Robin wrote:
slime wrote:You could make this only 1 line of goodness if you changed the newlines to "; "!
Or " ". Lua is smart and doesn't need semicolons to separate lines.
I know, but ";" would make it a tiny bit more legible than just " ".

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Jul 08, 2011 4:40 am
by BlackBulletIV
kikito wrote:That is ostensibly false. Java is OO, but not pure OO.
From what I've heard Smalltalk is pure OO, Ruby's fully OO too (unless I'm not getting something).
Robin wrote:
kikito wrote:Java's main strengths are its (relative) performance,
Compared to what, Ruby? :P
Ruby isn't too slow, it powers Twitter (along with Rails of course). Compared to C++ it runs, maybe half as fast I think, which is very good for a language of its kind.

EDIT: That second sentence was way out of context; I was referring to Java.

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Jul 08, 2011 5:12 am
by bmelts
BlackBulletIV wrote:Ruby isn't too slow, it powers Twitter (along with Rails of course).
Not actually true! Twitter was Ruby on Rails for a while, but eventually the engineering team determined that it was too slow, and shifted over to a custom Java server instead.

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Jul 08, 2011 6:07 am
by ishkabible
...maybe half as fast I think...
LOL!! have you used C++ and Ruby? i have a challenge for you, make a program in Ruby that can sort an array of 100 million integers in half a second. how can this be done in C++, really easily with std::sort...

edit:
i added a page, it doesn't seem to be in the library section however. i added "[[Category:Libraries]]" to the bottom of the page like it said in the guidelines.

edit2:
no wait, it's there but the title is my name...

edit3:
fixed it :)