BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Why some people say Local Variables are bad...


@Ray.R wrote:

Local Horror!!

 

Discussed here

 

The locals span 3 screens down!  The code is incomprehensible..


Did you notice that he even connects a local variable to its own terminal near the top left?

 

Curiously, none are needed. Here's equivalent code, replacing the entire inner code on the left.... 😄

 

 

 

Message 361 of 396
(8,445 Views)

I had to clean my glasses after glancing at the block diagram..    😮

0 Kudos
Message 362 of 396
(8,429 Views)

@Ray.R wrote:

I had to clean my glasses after glancing at the block diagram..    😮


I threw up in my mouth a little bit.


"Should be" isn't "Is" -Jay
0 Kudos
Message 363 of 396
(8,419 Views)

@JÞB wrote:

I threw up in my mouth a little bit.

Ohh......ooooooooooohhhhhhhhhhhhhhhhhhhhhhhhhhh

 

 

That's bad!!!

Spoiler
I'm referring to the Locals, of course!  😄

 

0 Kudos
Message 364 of 396
(8,410 Views)

@altenbach wrote:

Did you notice that he even connects a local variable to its own terminal near the top left?


That's for when you want to be *really* sure that you have set the right value properly. You know, for nuclear reactors and such.


___________________
Try to take over the world!
Message 365 of 396
(8,400 Views)

Arrays? I don't need no stinking arrays.

Ooh, look at this I can make a cluster.

I need to do stuff with the data! I'll change it to an array!

 

argh.png

_____________________________
- Cheers, Ed
Message 366 of 396
(8,271 Views)

I like the comments.  I usually use Free Labels, but String constants are pretty sweet.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 367 of 396
(8,262 Views)

 


@yenknip wrote:

Arrays? I don't need no stinking arrays.

Ooh, look at this I can make a cluster.

I need to do stuff with the data! I'll change it to an array!

 

 


At a glance what you posted is only about 10% of the entire block diagram. What a fracking nightmare. Smiley Surprised

PaulG.
Retired
0 Kudos
Message 368 of 396
(8,259 Views)

@yenknip wrote:

Arrays? I don't need no stinking arrays.

Ooh, look at this I can make a cluster.

I need to do stuff with the data! I'll change it to an array!


  • Usually, we see it the other way around. "Array...array to cluster...unbundle"
  • I like that purple spider web on the left.
  • I have the feeling that the time formatting in the upper right could be done with a single primitive and a slightly more complicated time format statement. 😄
0 Kudos
Message 369 of 396
(8,253 Views)

@altenbach wrote:

@yenknip wrote:

 

 

  • I like that purple spider web on the left.

That must be there to catch any bugs 😜


"Should be" isn't "Is" -Jay
Message 370 of 396
(8,234 Views)