I didn't know spaghetti code could be this good

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

54 Replies - 5302 Views - Last Post: 24 March 2018 - 05:55 AM

Poll: Spaghetti code has had a bad rap? (11 member(s) have cast votes)

Spaghetti code good or bad

  1. Spaghetti code can never be any good (4 votes [16.00%] - View)

    Percentage of vote: 16.00%

  2. Some of the greatest apps are pure spaghetti (2 votes [8.00%] - View)

    Percentage of vote: 8.00%

  3. If you can flowchart then spaghetti is ok (5 votes [20.00%] - View)

    Percentage of vote: 20.00%

  4. The perfect perfects never create anything (1 votes [4.00%] - View)

    Percentage of vote: 4.00%

  5. Spaghetti code lets you get coding right away (5 votes [20.00%] - View)

    Percentage of vote: 20.00%

  6. Spaghetti code will surprise you now and again (4 votes [16.00%] - View)

    Percentage of vote: 16.00%

  7. My old spaghetti code is just fine at 20 years (4 votes [16.00%] - View)

    Percentage of vote: 16.00%

Vote Guests cannot vote

#46 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 58
  • View blog
  • Posts: 269
  • Joined: 31-December 07

Re: I didn't know spaghetti code could be this good

Posted 26 February 2018 - 08:30 AM

View Postbastones, on 25 February 2018 - 06:07 PM, said:

It's a one man project. Of course you are going to think it's getting "better and better". Try working in a team with spaghetti code that messy and you'll understand why a lot of us learned through experience that disgusting code like that only leads to pain and frustration.


There is no pain when you are jamming something this fantastic. Pure exhilaration...

View Postbastones, on 25 February 2018 - 06:07 PM, said:

Even for a language like Visual Basic, you can lay out your code in a clean and structured manner if you made an effort to do so. Why would you not want to do that? Projects become spaghettified for one of two reasons: endless features being added to meet organisational demands without considering how to carefully integrate that into an existing codebase, or lack of experience.


Feature creep is a problem for you structureds but not spaghetti coders. Nope.
Each feature has it's own trail with dates etc... Making it easier and easier to add stuff. No kidding. I guess you structureds wouldn't know. The next feature (when I get the budge done in the next day or two) will be a video tour navigation.

View Postbastones, on 25 February 2018 - 06:07 PM, said:

If writing lazy code works for you, continue. But I would seriously advise against showing this kind of work at a job interview because I promise you no one in their right mind would employ you.



Most of the people that hired me wouldn't have had a problem. I'd show them what the app can do. Don't look a gift horse in the mouth. Maybe Secretariat had bad teeth.. Boo

Ha ha you have even worse reputation than me..
Was This Post Helpful? 0
  • +
  • -

#47 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4211
  • View blog
  • Posts: 18,475
  • Joined: 24-September 08

Re: I didn't know spaghetti code could be this good

Posted 26 February 2018 - 09:09 AM

You put scotch in your spaghetti?
Was This Post Helpful? 0
  • +
  • -

#48 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 6216
  • View blog
  • Posts: 21,454
  • Joined: 05-May 12

Re: I didn't know spaghetti code could be this good

Posted 26 February 2018 - 11:58 AM

It's better than cooking spaghetti with wine! Spaghetti coding with scotch is the best. Even better is that it is a gift that keeps on giving. Future maintainers of the code will have to also imbibe more and more scotch to be able to understand and maintain the code.
Was This Post Helpful? 1
  • +
  • -

#49 h4nnib4l   User is offline

  • The Noid
  • member icon

Reputation: 1274
  • View blog
  • Posts: 1,809
  • Joined: 24-August 11

Re: I didn't know spaghetti code could be this good

Posted 26 February 2018 - 12:05 PM

Obligatory Ballmer Peak reference...

This post has been edited by h4nnib4l: 26 February 2018 - 12:09 PM

Was This Post Helpful? 2
  • +
  • -

#50 ishkabible   User is offline

  • spelling expret
  • member icon





Reputation: 1747
  • View blog
  • Posts: 5,898
  • Joined: 03-August 09

Re: I didn't know spaghetti code could be this good

Posted 26 February 2018 - 11:49 PM

Scotch, port, sherry, maderia, wine, beer, chartreuse, grappa... I put lots of stuff in my spaghetti. It makes it mine, it makes it special. It tangles and curves in just the way I desire. I can distinguish my spaghetti code down to the year and even region I programmed it in.

Don't touch my spaghet.
Was This Post Helpful? 0
  • +
  • -

#51 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 58
  • View blog
  • Posts: 269
  • Joined: 31-December 07

Re: I didn't know spaghetti code could be this good

Posted 10 March 2018 - 09:15 AM

Dang a double / triple whammy.
The new pc must have a codec problem maybe.
The changes I made to try and get the new pc running seemed to cause a problem with the existing pc
I tried this and that with no success.
Then I found that the video file demo85-pict7.mpg was MISSING....
Nobody on my pc but me so somehow I am guilty.

If I would have trapped the open error then it wouldn't have been a problem. But I won't.

In digging around I found that I had a "vl" video length catalog option. It puts the video length on the catalog records. This was handy in identifying the codec problem and showing how much time (1 to 1 1/2 seconds elapsed) it takes to find the video length. To speed things up I can preload the length into the catalog file if I want.

In doing the debugging I added in some more testing displays and prompts.

Even this many years later a dumb old fart can make headway with great spaghetti code like this.
Was This Post Helpful? 0
  • +
  • -

#52 ArtificialSoldier   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2030
  • View blog
  • Posts: 6,199
  • Joined: 15-January 14

Re: I didn't know spaghetti code could be this good

Posted 12 March 2018 - 10:46 AM

Quote

Then I found that the video file demo85-pict7.mpg was MISSING....

What you need is some sort of desktop search program you can use to locate that.
Was This Post Helpful? 2
  • +
  • -

#53 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 58
  • View blog
  • Posts: 269
  • Joined: 31-December 07

Re: I didn't know spaghetti code could be this good

Posted 12 March 2018 - 11:49 AM

View PostArtificialSoldier, on 12 March 2018 - 05:46 PM, said:

Quote

Then I found that the video file demo85-pict7.mpg was MISSING....

What you need is some sort of desktop search program you can use to locate that.


Dang I'm happy with this app again..
I have posted the latest exe and txt as of today.

It needs a couple more lines of code. Right now it loops and loops on the segment I want displayed.
That is fantastic. To me.
Previously I'd have trouble getting it to start at the same spot twice in a row. Just try and have someone look a second time when they saw nothing the first time.

My problem was obviously my problem. Having all files in one folder (with a few sub folders) can get messy but that is no excuse. I didn't look for that file. I knew it was there. Maybe it was the Russians

The exe
todays source.txt

Sky Creature selfie

This post has been edited by SpectateSwamp: 12 March 2018 - 12:56 PM

Was This Post Helpful? 0
  • +
  • -

#54 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 58
  • View blog
  • Posts: 269
  • Joined: 31-December 07

Re: I didn't know spaghetti code could be this good

Posted 18 March 2018 - 08:16 AM

View PostArtificialSoldier, on 12 March 2018 - 06:46 PM, said:

Quote

Then I found that the video file demo85-pict7.mpg was MISSING....

What you need is some sort of desktop search program you can use to locate that.


I do use the search when examining the code. Just 1 huge program makes it easy to search.
It hi lites without having a prompt box over the results. I can have other text strings show using the hi lite this control ...

The Yourdonites / Purists will always call: Spaghetti code and no good. They couldn't be more wrong. Wrong wrong.
I loved this code 20 years ago. That affection has just grown and grown for good reason. Old code is just better.
Lots of crumbs in the code for newbies or forgetful folks.

Everything that I need to know / remember about computing is right HERE.
https://www.youtube....h?v=cTUsarsgBKg
Was This Post Helpful? 0
  • +
  • -

#55 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 58
  • View blog
  • Posts: 269
  • Joined: 31-December 07

Re: I didn't know spaghetti code could be this good

Posted 24 March 2018 - 05:55 AM

Spaghetti code rules

Ain't no structure app that could withstand 20 years of feature creep AND just get better and better.
Show me Yourdon's best app. It would be nothing compared to this Spaghetti.

The latest feature and it's stop motion animation like abilities has so many uses for me and the world.

The self driving software developers could use this "better" view to train those dumb apps. Yup it's that good.


Yup Spaghetti Code beats Structured every time
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4