32 lines of goodness, yet another OO lib

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: 32 lines of goodness, yet another OO lib

Post by bartbes »

Also, forced usage of classes.
User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Re: 32 lines of goodness, yet another OO lib

Post 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?
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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 "; "!
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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.
Help us help you: attach a .love.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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 " ".
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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.
Last edited by BlackBulletIV on Fri Jul 08, 2011 7:03 am, edited 2 times in total.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: 32 lines of goodness, yet another OO lib

Post 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.
User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Re: 32 lines of goodness, yet another OO lib

Post 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 :)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests