Spaghetti code can be soo Good

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

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »

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

#19 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 09:34 AM

... I'm supposed to be using VB to move some databases around at work. Meh. I went as far as reading 1 tutorial, and quit. There aren't any real good VBA tutorials out there, hardly any real support as far as I'm concerned (even here I get lost), and VB is just very broad. Besides, they're ending support with VB anyways and using Java for macros these days. Or so I heard. As I see it, from personal experience, VB code is like very ambiguous pseudocode used for the most basic of projects, done quick and dirty. Theres no real security for it, it's very broad, and gives me a fucking headache! Face it gramps, line numbers and gotos are a thing of the past. Sure, its good for hobbying, but industries frown upon it these days and see it as bad form. You're outnumbered. Us young whippersnappers are taking you outta business!

This post has been edited by NeoTifa: 20 January 2010 - 09:35 AM

Was This Post Helpful? 1
  • +
  • -

#20 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1663
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 09:52 AM

@JackOfAllTrades I recognized that name almost immediately. He was pretty much ran off from there for being a troll

Quote

If you're a real programmer you should be able to make more flexible, faster, and more robust applications faster in C, Java, C++, C#, or whatever language you prefer, but NOT VB. What does that second letter stand for? Basic?

PLEASE argue that some larger corporations use VB for their enterprise level software. Guess what? Larger Corporations are looking for a cheap product, not a good product. IMO VB is a cheap gutting of program that is used by people who neither have the time, nor conviction to actually program, or people who want results fast and dirty.


Ok let's turn this into a flame war since it seems evident this is what you would like to do ..... WRONG (as long as you're referring to VB.NET, not VB6 *shudder*)

View Postsonicpp, on 20 Jan, 2010 - 07:29 AM, said:

Tell you what. You write an operating system with VB. Then we'll talk.


You write one period, in any language then we'll talk :)
Was This Post Helpful? 2
  • +
  • -

#21 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 10:03 AM

View PostNeoTifa, on 20 Jan, 2010 - 08:34 AM, said:

... I'm supposed to be using VB to move some databases around at work. Meh. I went as far as reading 1 tutorial, and quit. There aren't any real good VBA tutorials out there, hardly any real support as far as I'm concerned (even here I get lost), and VB is just very broad. Besides, they're ending support with VB anyways and using Java for macros these days. Or so I heard. As I see it, from personal experience, VB code is like very ambiguous pseudocode used for the most basic of projects, done quick and dirty. Theres no real security for it, it's very broad, and gives me a fucking headache! Face it gramps, line numbers and gotos are a thing of the past. Sure, its good for hobbying, but industries frown upon it these days and see it as bad form. You're outnumbered. Us young whippersnappers are taking you outta business!


Did you say... MACRO!?!?!?!


(defmacro imamacrothatwontevaluatemyargumentsuntilyouwantmetoohehe [lol]
  `(println "Haha! I didn't evaluate my argument!!!!"))

user> (imamacrothatwontevaluatemyargumentsuntilyouwantmetoohehe (println "Hello!"))
Haha! I didn't evaluate my argument!!!!
nil


MACRO!!!!
Was This Post Helpful? 1
  • +
  • -

#22 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 10:12 AM

??? Wtf are you talking about? VBA is a form of VB used by Microsoft Excel for Macros. I dunno if that cleared up what you're supposedly flaming me for or not, but oh well. The guy who tasked me said I could write them in Java. *shrug* I should've tried, but I just tried to learn VB.
Was This Post Helpful? 1
  • +
  • -

#23 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 10:23 AM

View PostNeoTifa, on 20 Jan, 2010 - 09:12 AM, said:

??? Wtf are you talking about? VBA is a form of VB used by Microsoft Excel for Macros. I dunno if that cleared up what you're supposedly flaming me for or not, but oh well. The guy who tasked me said I could write them in Java. *shrug* I should've tried, but I just tried to learn VB.


http://en.wikipedia....%29#Lisp_macros

It was a joke. I guess non-lispers don't find macro jokes funny. :(

EDIT: I wasn't flaming you.

This post has been edited by Raynes: 20 January 2010 - 10:24 AM

Was This Post Helpful? 1
  • +
  • -

#24 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4935
  • View blog
  • Posts: 20,264
  • Joined: 24-September 08

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 10:43 AM

Oh. Yea, totally blew over my head...
Was This Post Helpful? 1
  • +
  • -

#25 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 66
  • View blog
  • Posts: 393
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 11:50 AM

View Postsonicpp, on 20 Jan, 2010 - 08:29 AM, said:

Tell you what. You write an operating system with VB. Then we'll talk.

The operating system is just the canvas on which Desktop Search is painted. Search like this is far more useful than other dumb ol programs, OS or otherwise. All things are possible with this simple language. That I have superior access to all my digital info, there is no doubt. And that is what computing is all about. Superiority.

I guess that is the problem "talking" to people who have never written a Search engine. You couldn't possibly have a clue. No matter what bloody language you haven't written it in. You are still clueless
Was This Post Helpful? -3
  • +
  • -

#26 Raynes   User is offline

  • D.I.C Lover
  • member icon

Reputation: 616
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 12:34 PM

View PostSpectateSwamp, on 20 Jan, 2010 - 10:50 AM, said:

View Postsonicpp, on 20 Jan, 2010 - 08:29 AM, said:

Tell you what. You write an operating system with VB. Then we'll talk.

The operating system is just the canvas on which Desktop Search is painted. Search like this is far more useful than other dumb ol programs, OS or otherwise. All things are possible with this simple language. That I have superior access to all my digital info, there is no doubt. And that is what computing is all about. Superiority.

I guess that is the problem "talking" to people who have never written a Search engine. You couldn't possibly have a clue. No matter what bloody language you haven't written it in. You are still clueless


This guy is hilarious.
Was This Post Helpful? 1
  • +
  • -

#27 Core   User is offline

  • D.I.C Lover
  • member icon

Reputation: 785
  • View blog
  • Posts: 5,101
  • Joined: 08-December 08

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 12:42 PM

Quote

The operating system is just the canvas on which Desktop Search is painted. Search like this is far more useful than other dumb ol programs, OS or otherwise. All things are possible with this simple language. That I have superior access to all my digital info, there is no doubt. And that is what computing is all about. Superiority.

I guess that is the problem "talking" to people who have never written a Search engine. You couldn't possibly have a clue. No matter what bloody language you haven't written it in. You are still clueless


Let's put it this way. In your case - talk is cheap. Why not show us all what you've done? Give us the possiblity to look at your uber-search engine. Unless you do that, all that you've said before has zero value.
Was This Post Helpful? 2
  • +
  • -

#28 DuoShin85   User is offline

  • D.I.C Head
  • member icon

Reputation: 39
  • View blog
  • Posts: 135
  • Joined: 18-December 09

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 12:50 PM

View PostRaynes, on 20 Jan, 2010 - 01:34 PM, said:

View PostSpectateSwamp, on 20 Jan, 2010 - 10:50 AM, said:

View Postsonicpp, on 20 Jan, 2010 - 08:29 AM, said:

Tell you what. You write an operating system with VB. Then we'll talk.

The operating system is just the canvas on which Desktop Search is painted. Search like this is far more useful than other dumb ol programs, OS or otherwise. All things are possible with this simple language. That I have superior access to all my digital info, there is no doubt. And that is what computing is all about. Superiority.

I guess that is the problem "talking" to people who have never written a Search engine. You couldn't possibly have a clue. No matter what bloody language you haven't written it in. You are still clueless


This guy is hilarious.


QFT. This guy should take up comedy. He'd be good at it.
Was This Post Helpful? 1
  • +
  • -

#29 Programmist   User is offline

  • Refactorer in Chief
  • member icon

Reputation: 256
  • View blog
  • Posts: 1,843
  • Joined: 02-January 06

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 02:22 PM

Has no one here seen Borat? Keep arguing. It's entertainment to those in on the joke. :)
Was This Post Helpful? 1
  • +
  • -

#30 erik.price   User is offline

  • D.I.C Lover
  • member icon

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

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 02:58 PM

View PostSpectateSwamp, on 20 Jan, 2010 - 10:02 AM, said:

View Postsonicpp, on 20 Jan, 2010 - 04:19 AM, said:

VB is for children who's mothers never loved them. Or the third best of triplets... never got the tit.

Can't stand you "C" elitest Perfect Perfects either. You can't jam C like I can this Wonder program. Probably not. Most most probably not.


You do know that C has a goto statement right?

Also, wtf?
Was This Post Helpful? 1
  • +
  • -

#31 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 66
  • View blog
  • Posts: 393
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 03:28 PM

Before everybody gets too enflamed and before I lay it all out on a platter for you non VB5 people. I'm looking to get a couple Specialty MetaData dumps written. Language doesn't matter.

I can't stand the idea of meta data in music, pictures and video files either. Anyhow I have soiled my VB code with the Mp3 metadata logic and would just as soon remove it. What I would like to provide is a text file that will be used for the mpg, mp3 and jpg extracts. So no directory look up is required. It will have 2 lines #1 is the archive info and #2 is the path to the file. Ie

"photo scapture0229 of dreamincode response to spaghetti code"
"xxx.c:\search\webscreens\scapture0229.jpg"

the "photo " and "xxx." are for my purposes and are needed. The rest of the mp3 mpg and jpg meta data could be overwritten on EXTRACT (I'll keep copies) in what ever format the uploader would need as well (gendre=???/artise=???/). I just want to be able to pull out MD search it and do some displays based on it with my SSDS search and possibly jam a different set of MD back into the same mp3, mpg or jpg. Those are the only formats I'm interested in. Thanks and now back to flaming. I don't think anybody here is capable of doing this. Do I have to do it myself. Some old fart with VB5 showing you all up. How bad would that be.
Was This Post Helpful? 1
  • +
  • -

#32 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 66
  • View blog
  • Posts: 393
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 20 January 2010 - 05:25 PM

View PostCore, on 20 Jan, 2010 - 11:42 AM, said:

Let's put it this way. In your case - talk is cheap. Why not show us all what you've done? Give us the possiblity to look at your uber-search engine. Unless you do that, all that you've said before has zero value.

You are right. I had the source up till just recently. I got tired of techies checking out the code and saying no way; never even looking at the results and possibilities that are there right Now. So. Being you asked so so nicely I'm puting the source.txt up right away at:
http://www.telusplan...edan/source.txt
It's there now.

Grab a copy of the search.exe there as well. I'll show you how to do shit that is pure simple and powerful very very powerful. All in this dumb VB5 program. Maybe even double Dumb dumb ol VB5 program.

Could be the finest mess of spaghetti code ever conceived. Hope so.

My Forum rules: Break every dumb forum thread rule you can. Those you can't break leave. By forum I mean Desktop Search / Meta data / digital video / Spaghetti code / ....
Was This Post Helpful? 0
  • +
  • -

#33 SpectateSwamp   User is offline

  • D.I.C Regular

Reputation: 66
  • View blog
  • Posts: 393
  • Joined: 31-December 07

Re: Spaghetti code can be soo Good

Posted 21 January 2010 - 12:00 PM

Didn't mean to scare you away. You all don't have to start doing extracts geez. Just saying that having a massive messy jamed spaghetti code program can be fun. Maybe even exciting. It has a few minor things done for speed. the screen refresh is turned off. When searching for numeric values the shift to Upper case isn't needed. When not searching in context mode. the characters read stats are skipped. If you make the most unlikely search term first (ie a number) the 2nd 3rd 4th 5th and 6th search terms get skipped. HINT: when looking at the code look for the #1 or #2 or #3 prompts. That is where most of the action and defaults are checked and set. Being able to run background jobs and wait for them to complete is fun and makes the program changes required to do random text very simple. Random is just more fun too. Having 5000+ family pictures scanned from the getgo it became obvious random was a must. The other desktop searches just can't touch this search. This mass of spaghetti is beautiful

Check out the flowcharts for the hi-lite / line wrap logic. Compare it to the code re the line numbers. Flowcharting Spaghetti code works.

http://www.telusplan...edan/pict01.jpg
http://www.telusplan...edan/pict02.jpg
Was This Post Helpful? 1
  • +
  • -

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »