I'm such a fvcking nerd

AFB

Lifer
Jan 10, 2004
10,718
3
0
So what do most people do when they get bored? Go see a movie? Go to the mall? Well I see how inefficient I can make algorithms. LMAO, I'll be outside for awhile :D:p



http://files.amdfanboy.com/badsort.java

BTW, it looks pretty cool if you pass a large enough Integer array.
 

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
when bored....

go play pool

go biking

go rollerblading

go to the beach, admire the scenery

hang out with friends...

go do exercise

go watch movies

(that's my partial list)

 

raystorm

Diamond Member
Apr 24, 2001
4,712
2
0
God I hate programming... I tried to learn it and couldn't stand it so I stick to playing baseball, watching movies, playing online with friends and go biking when I bored.

and yes...you are such a fvcking nerd.
 

Wallydraigle

Banned
Nov 27, 2000
10,754
1
0
Originally posted by: Jero
when bored....

go play pool

go biking

go rollerblading

go to the beach, admire the scenery

hang out with friends...

go do exercise

go watch movies

(that's my partial list)



Hmm, it would appear that writing inefficient algorithms didn't make the list.
 

Hyperblaze

Lifer
May 31, 2001
10,027
1
81
Originally posted by: lirion
Originally posted by: Jero
when bored....

go play pool

go biking

go rollerblading

go to the beach, admire the scenery

hang out with friends...

go do exercise

go watch movies

(that's my partial list)



Hmm, it would appear that writing inefficient algorithms didn't make the list.

I never claimed I was a nerd either :p
 

Schadenfroh

Elite Member
Mar 8, 2003
38,416
4
0
this is what i do when i get bored. wrote during times of boredome and caffine highs mixed with lack of sleep at 3 AM for the past month.

i have most of it memorized, my social life is doomed:(
 

JayHu

Senior member
Mar 19, 2001
412
0
0
Originally posted by: amdfanboy
So what do most people do when they get bored? Go see a movie? Go to the mall? Well I see how inefficient I can make algorithms. LMAO, I'll be outside for awhile :D:p



http://files.amdfanboy.com/badsort.java

BTW, it looks pretty cool if you pass a large enough Integer array.

You should put a gui front end on it, and then thread the application so you can watch it sort compared to other more 'efficient' sorting algorithms.
I always thought I'd do a 'random sort' algorithm. Sort of like yours, except it swaps two elements, then checks to see if it's in proper order.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: Schadenfroh
this is what i do when i get bored. wrote during times of boredome and caffine highs mixed with lack of sleep at 3 AM for the past month.

i have most of it memorized, my social life is doomed:(

Bah, that has a use. :p
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: cr4zymofo
Eh... why do you have for loop inside your if/else statement?

You mean the print array method? I just wrote that in about 2 seconds. It was the most logical and is only used for testing.