Replies: 3 comments 5 replies
-
As a personal preference, I like it when code can be read out loud and make sense (or get as close as possible to making sense). In that light, I would not put the physical keyword last but first, as a modifier of the entire connection statement. |
Beta Was this translation helpful? Give feedback.
-
These are good points. I'm OK with this change (particularly if we keep it backward compatible). I would argue that the use of the |
Beta Was this translation helpful? Give feedback.
-
One thing to consider is that we might want to mix "physical" and "after".
You might argue that this pattern doesn't make sense since |
Beta Was this translation helpful? Give feedback.
-
While physical and regular connections are clearly distinguishable in the diagrams, this is not the case in the LF syntax. The difference between
and
is hard to spot, especially when skimming over a large program. We also got this feedback from reviewers. At first, I didn't take the feedback very seriously, but now it happened several times to me that I missed a physical connection when reading LF code. The more I notice the problem, the more I think we should reconsider the syntax.
Maybe a better alternative is to add an explicit
physical
qualifier like so:I think this would blend in nicely with the after delay syntax. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions