News:

  • October 17, 2026, 05:34:27 PM

Login with username, password and session length

Author Topic: A small editing discrepancy and annoyance  (Read 27403 times)

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: A small editing discrepancy and annoyance
« Reply #15 on: March 19, 2021, 02:03:55 PM »
I don't write programs for me to understand, I write them for others to understand so I use the underscores to make it very readable.  However I get your point about it, I liked the space bar handling the job.

That content confounds me.  It sounds as if camel case would be OK if you were wilting the comments for yourself, but others need underscores, but I can't imagine that's what you're saying.

I think he is saying that to the "untrained eye", underscoring is (slightly) easier to read than CamelCase.

Myself, I don't mid CamelCase, but where it gets me into trouble is if I start using acronyms in the name already to save space, all of a sudden it reads ABCCamelCaseBit1, and then for readability it needs to become ABC_CamelCaseBit1, and that is 17 characters.  Also, I end up using characters to denote if something is a Timer or a Stage, etc to differentiate it from the pushbutton or output, etc.

In short, I'm patiently waiting for the code to allow longer nicknames.  But I will say I'd much rather have features such as the new Modbus Scanner.  And the continual improvements/bug fixes that are openly acknowledged, fixed, and time-lined.  Not too many software/tech companies are that open about their bugs.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3628
  • Darth Ladder
Re: A small editing discrepancy and annoyance
« Reply #16 on: March 19, 2021, 04:51:16 PM »
Yeah, Host is awesome that way.    What I'd like to see, if it can be done without too big a scan time hit, is a really big ask:   more places where you can use arbitrary expressions that get parsed at runtime.    :)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6177
  • Yes Pinky, Do-more will control the world!
Re: A small editing discrepancy and annoyance
« Reply #17 on: March 19, 2021, 07:29:52 PM »
The engine can actually do the math thing already. The issue is DmD...tons of complications to entering, statusing,  storing, and decompiling.

Our next big language improvement will probably be a C-meets-Structured-Text code block, which will free us from the shackles of decompilation.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3628
  • Darth Ladder
Re: A small editing discrepancy and annoyance
« Reply #18 on: March 19, 2021, 07:44:45 PM »
Our next big language improvement will probably be a C-meets-Structured-Text code block, which will free us from the shackles of decompilation.

As much as I'd love wider acceptance of expressions, I'd like to have that first even more!

BTW, if the engine can handle parsing expressions in other places, have you profiled the functionality any, and if so, how big an impact does it have on scan time?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6177
  • Yes Pinky, Do-more will control the world!
Re: A small editing discrepancy and annoyance
« Reply #19 on: March 19, 2021, 07:48:50 PM »
Same as MATH box. Engine doesn't parse any of it, just runs it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO