Einzelnen Beitrag anzeigen

Furtbichler
(Gast)

n/a Beiträge
 
#6

AW: Access variable from one form to another

  Alt 21. Aug 2013, 08:02
I generally wouldn't recommend doing this though because it leads to spaghetti code.
You are being unfair to both Spaghetti and Spaghetti Code.

'Spaghetti Code' comes from good old BASIC code, having loads of GOTO's and GOSUB's. If you would print the code and connect all program lines in the order they would be executed, you would end up in something looking like a bowl of spaghetti (without the source sauce though).

What you want to express is simply very ugly code which is not reusable. This is cannot be compared to spaghetti code, which has some sort of built in protection against successful modification.

Please show some respect for Spaghetti

Regarding the separation from front-end and business logic you are completely right.
  Mit Zitat antworten Zitat