32 lines of goodness, yet another OO lib
- 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
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.
- 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
Also, forced usage of classes.
- 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
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.Also, forced usage of classes.
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?
- 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
Java teaches OO, but not necessarily the correct usage of OO.
Anyway, this is getting pretty off-topic. You could make this only 1 line of goodness if you changed the newlines to "; "!
Anyway, this is getting pretty off-topic. You could make this only 1 line of goodness if you changed the newlines to "; "!
- 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
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.
Adding those tags (and possibly regenerating the index) should make sure it shows up.
- 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
Compared to what, Ruby?kikito wrote:Java's main strengths are its (relative) performance,
Or " ". Lua is smart and doesn't need semicolons to separate lines.slime wrote:You could make this only 1 line of goodness if you changed the newlines to "; "!
Help us help you: attach a .love.
- 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
I know, but ";" would make it a tiny bit more legible than just " ".Robin wrote:Or " ". Lua is smart and doesn't need semicolons to separate lines.slime wrote:You could make this only 1 line of goodness if you changed the newlines to "; "!
- 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
From what I've heard Smalltalk is pure OO, Ruby's fully OO too (unless I'm not getting something).kikito wrote:That is ostensibly false. Java is OO, but not pure OO.
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.Robin wrote:Compared to what, Ruby?kikito wrote:Java's main strengths are its (relative) performance,
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.
Re: 32 lines of goodness, yet another OO lib
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.BlackBulletIV wrote:Ruby isn't too slow, it powers Twitter (along with Rails of course).
- 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
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......maybe half as fast I think...
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
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests