Spaghetti code can be soo Good

I love this spaghetti program. Right out of the 70's

  • (11 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »

159 Replies - 23222 Views - Last Post: 10 March 2010 - 07:27 AM

#76 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2263
  • View blog
  • Posts: 9,467
  • Joined: 29-May 08

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 11:36 AM

Put up a monetary prize and I'll maybe be up for it.
Was This Post Helpful? 0
  • +
  • -

#77 SpectateSwamp  Icon User is offline

  • D.I.C Head

Reputation: 51
  • View blog
  • Posts: 243
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 11:47 AM

View PostAdamSpeight2008, on 30 Jan, 2010 - 10:36 AM, said:

Put up a monetary prize and I'll maybe be up for it.

To build the bestest program ever without Spaghetti. Impossible. Can't be done. Even I would give it a try if the prize was BIG enough. How much is the bestest program worth? Maybe we could split the prize?
Was This Post Helpful? 2
  • +
  • -

#78 erik.price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 485
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 12:56 PM

Using gotos because they increase the readability, efficiency, whatever of a program: GOOD

Using gotos every single time you can because you're too stubborn to do otherwise: BAD
Was This Post Helpful? 1
  • +
  • -

#79 0xFF  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 85
  • Joined: 12-December 09

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 02:34 PM

This thread reminds me of Linus on the Goto.
Ah nostalgia.
Was This Post Helpful? 0
  • +
  • -

#80 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 06:46 PM

Posted Image
Was This Post Helpful? 2
  • +
  • -

#81 erik.price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 485
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 07:25 PM

The only reason he's here is because he's been banned everywhere else.

I thought he was just some troll, but he wrote a 10,000 line piece of garbage, and has been posting about how glorious it is over multiple boards for the past two or more years. He's either really committed to trolling or insane.
Was This Post Helpful? 0
  • +
  • -

#82 0xFF  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 85
  • Joined: 12-December 09

Re: Spaghetti code can be soo Good

Posted 30 January 2010 - 09:31 PM

Sounds like a bad programmer with issues admitting his problem.

In a related story, there's this 12,000 line legacy program I came across at work.

You see things all over it like the same function under 3 names, the code from it pasted into another function like 20 times, IF statements that are needlessly long, only two datatypes: int and string, it looks like 4 people and internet copypasta wrote the thing, and all these people were those flying monkeys from Oz. (I ran some regexp against it so I could map out it's function with the system and decided that 7000-8000 lines of it are all fluff).
Was This Post Helpful? 0
  • +
  • -

#83 SpectateSwamp  Icon User is offline

  • D.I.C Head

Reputation: 51
  • View blog
  • Posts: 243
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 31 January 2010 - 09:54 AM

View Posterik.price, on 30 Jan, 2010 - 06:25 PM, said:

The only reason he's here is because he's been banned everywhere else.

I thought he was just some troll, but he wrote a 10,000 line piece of garbage, and has been posting about how glorious it is over multiple boards for the past two or more years. He's either really committed to trolling or insane.

Yup only to come up against Old threads on desktop search that nobody wants to reopen. The discussion is far from complete. Even if those with 10's of thousands of post say it is.
Was This Post Helpful? 0
  • +
  • -

#84 0xFF  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 85
  • Joined: 12-December 09

Re: Spaghetti code can be soo Good

Posted 31 January 2010 - 12:37 PM

Wow, didn't know this guy was a big enough troll to have his won page on ED.
Was This Post Helpful? 1
  • +
  • -

#85 0xFF  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 85
  • Joined: 12-December 09

Re: Spaghetti code can be soo Good

Posted 31 January 2010 - 02:22 PM

oh dear god have mercy
This is seriously a program?

WHAT IS WRONG WITH THIS GUY?

http://www.telusplan...edan/source.txt
Was This Post Helpful? 1
  • +
  • -

#86 SpectateSwamp  Icon User is offline

  • D.I.C Head

Reputation: 51
  • View blog
  • Posts: 243
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 01 February 2010 - 08:19 AM

View Post0xFF, on 31 Jan, 2010 - 01:22 PM, said:

oh dear god have mercy
This is seriously a program?

WHAT IS WRONG WITH THIS GUY?

http://www.telusplan...edan/source.txt

This is just the continued evolution of Search & Grepplerism

Random random, video, music, pictures, slowed print, background versions and a lot lot more. What a beautiful pile of spaghetti.
Was This Post Helpful? -3
  • +
  • -

#87 erik.price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 485
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: Spaghetti code can be soo Good

Posted 01 February 2010 - 02:23 PM

ine_15500:
		new1 = SSS1
		new2 = SSS2
		new3 = SSS3
		new4 = SSS4		 '23 june 2002
		new5 = SSS5
		new6 = SSS6
		SSS1 = ""
		SSS2 = ""
		SSS3 = ""
		SSS4 = ""		   '23 june 2002
		SSS5 = ""
		SSS6 = ""
		keep_aaa = aaa + ""
		keep_ooo = ooo + ""
		aaa = Context_text(temp4)
		ooo = Context_text(temp4)
		GoSub sub_12000
		aaa = keep_aaa
		ooo = keep_ooo
		SSS1 = new1
		SSS2 = new2
		SSS3 = new3
		SSS4 = new4		 '23 june 2002
		SSS5 = new5
		SSS6 = new6

Nice naming convention.
Was This Post Helpful? 1
  • +
  • -

#88 0xFF  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 85
  • Joined: 12-December 09

Re: Spaghetti code can be soo Good

Posted 01 February 2010 - 05:35 PM

View Posterik.price, on 1 Feb, 2010 - 03:23 PM, said:

ine_15500:
		new1 = SSS1
		new2 = SSS2
		new3 = SSS3
		new4 = SSS4		 '23 june 2002
		new5 = SSS5
		new6 = SSS6
		SSS1 = ""
		SSS2 = ""
		SSS3 = ""
		SSS4 = ""		   '23 june 2002
		SSS5 = ""
		SSS6 = ""
		keep_aaa = aaa + ""
		keep_ooo = ooo + ""
		aaa = Context_text(temp4)
		ooo = Context_text(temp4)
		GoSub sub_12000
		aaa = keep_aaa
		ooo = keep_ooo
		SSS1 = new1
		SSS2 = new2
		SSS3 = new3
		SSS4 = new4		 '23 june 2002
		SSS5 = new5
		SSS6 = new6

Nice naming convention.

Duh, SSS is for Super Sexy Strings.

View PostSpectateSwamp, on 1 Feb, 2010 - 09:19 AM, said:

View Post0xFF, on 31 Jan, 2010 - 01:22 PM, said:

oh dear god have mercy
This is seriously a program?

WHAT IS WRONG WITH THIS GUY?

http://www.telusplan...edan/source.txt

This is just the continued evolution of Search & Grepplerism

Random random, video, music, pictures, slowed print, background versions and a lot lot more. What a beautiful pile of spaghetti.

Your decision making privileges have been revoked.

This post has been edited by 0xFF: 01 February 2010 - 05:35 PM

Was This Post Helpful? 0
  • +
  • -

#89 Guest_spectateswamp*


Reputation:

Re: Spaghetti code can be soo Good

Posted 06 February 2010 - 09:44 AM

View Post0xFF, on 31 January 2010 - 01:22 PM, said:

oh dear god have mercy
This is seriously a program?

WHAT IS WRONG WITH THIS GUY?

http://www.telusplan...edan/source.txt

Quite possibly the MOST seriously program on the planet. What single program offers more. If Swamp search isn't the single most powerful program on the planet then it will be. Because it's far from done. A whole list of todo items. Most are quite easy to implement.

Do a search for "09 june 2002" and you will see everywhere the code changed when I went from 3 search elemente to 6. So everywhere these "SSS?" search elements are tested or printed is there to see. Check the list of new features in the code. Follow those changes through by It's date stamp.

Spaghetti code like you have never seen it before. It's OK to look.
Was This Post Helpful? -5

#90 Gorian  Icon User is offline

  • ninja DIC
  • member icon

Reputation: 120
  • View blog
  • Posts: 1,681
  • Joined: 28-June 08

Re: Spaghetti code can be soo Good

Posted 09 February 2010 - 01:40 PM

um... wow.
Was This Post Helpful? 0
  • +
  • -

  • (11 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »