r/LabVIEW • • Apr 21 '21

Watching a Cities: Skylines video when something caught my eye...

Post image
27 Upvotes

11 comments sorted by

6

u/NJKirchner Expert Apr 21 '21

What was that?

5

u/[deleted] Apr 21 '21

Looks like the connector pane u can wire terminals to. I was actually wiring connector panes a lot today when I was working on a UI; what a coincidence

3

u/flarn2006 Apr 21 '21

Yeah, that arrangement of roads looks exactly like the default 4-2-2-4 connector pane.

3

u/NJKirchner Expert Apr 21 '21

Oh my goodness, I can't believe that I missed that... Except that nobody should default to that default!

5x3x3x5 is the only one that makes sense. No more, no less.

2

u/flarn2006 Apr 22 '21

Don't you mean 52225? Pretty sure having 3 or more in anything but the leftmost or rightmost column is impossible.

1

u/arkad_tensor Apr 22 '21

Why do you think this?

1

u/NJKirchner Expert Apr 22 '21

At the risk of falling into ‘The Bayesian Trap’ of trying to convince someone who is 100% certain that this is the right choice, I’ll at least reply to not sound like it really doesn’t matter and it’s all fine and dandy.

First, I think we can all agree the LV community brain trust as a whole has settled on either or of these patterns and we’re all ok with it being NOT something else.

Common arguments against the 5335 are likely fully inclusive in the ones noted below

Since the community is effectively split on the choice, the current trajectory is one that is 100% more likely to need an exception made, resulting in an inconsistent API conpane pattern and also burdening the developer as to use one or the other or worse, change it downstream.

Equating the 5335 pattern as a sure sign that there are too many inputs to the function is patently false.

It is indeed the prerogative of the developer to fully load a conpane, and yes, with 5335 they can have more, but no good API I’ve run across in memory does that.

The 5335 pattern provides flexibility to terminal placement, not license to make a crap API.

The 5335 pattern give a few different positive benefits through that flexibility.

  • Breathing room between inputs and outputs on the top and bottom

    • If you do need 2 in/out on the top/bottom then there is graphical breathing room which has a stronger conveyance to their respective direction

  • Breathing room on the sides

    • Similar statement as above but not related to in/out but rather proximity to reference or error (common api in and outs)

  • The ability to have a terminal in the middle

    • I’ve had several instances where I want to make an api have a center terminal up top

  • The ability to permit 3 ins or outs on a side

    • Although it’s just one more element, I’ve had enough instances where keeping all outs or ins on a side was desirable for consistency and flow

  • Knowing that if a side is overloaded, it’s not a matter of changing the connector pane

    • You’ve done gone and made things too granular and you must choose a different approach

I’m fine not forcing the world one way or another, it’s users choice in the bigger scheme.

For a small cost of a few pixels, you can make a much more flexible, consistent and clear choice.

If I need to, I’m willing to elevate the issue on top of a conference room table (Stephen can vouch for this) or to a battle royale of a variety of avenues, name the time/place.

I respect that people will choose 4x2x2x4 as enough for them, but please don’t let this be the standard for delivered API when it’s deficient.

With all noble intent,

2

u/arkad_tensor Apr 22 '21

I appreciate you reply! I had no idea this was even a debate, I've always just used the default and never thought changing it was worth the effort of figuring out how to do it, haha. You've convinced me! Bayesian Trap averted!

1

u/[deleted] Apr 21 '21

I spent way too much time trying to find the LabView logo in there.

2

u/mig001 Apr 21 '21

We're you getting paid for that thought? Who does it belong to now?