Skip to main content
Solved

Why does the Software Factory use a mix of brackets [] and braces {}?

  • March 27, 2025
  • 1 reply
  • 24 views

Marius Korff
Captain
Forum|alt.badge.img+6

Just a question out of curiosity ðŸ˜„

Why does the Software Factory use both square brackets [] for template parameters and curly braces {} for process variables, instead of standardizing on one type of bracket for both purposes?

Best answer by Mark Jongeling

Hi Marius,

Fair question, it looks to be that it was decided way back in the day. A theory could be that anything the GUI supplies or reads is captured in {parameter} whilst the SQL-code parameter definition was deliberately separated from it to prevent issues. Waaaaaaaay back in the day the GUI itself was the one generating the logic so perhaps that was something.

I think nowadays it wouldn’t be any problem if the parameter definition for SQL-code also be {parameter}. Just converting all the existing brackets to curly ones is a bit of a challenge as brackets are also used in other contexts such as Array pointers and Alias naming. 

View original
Did this topic help you find an answer to your question?

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3940 replies
  • Answer
  • March 27, 2025

Hi Marius,

Fair question, it looks to be that it was decided way back in the day. A theory could be that anything the GUI supplies or reads is captured in {parameter} whilst the SQL-code parameter definition was deliberately separated from it to prevent issues. Waaaaaaaay back in the day the GUI itself was the one generating the logic so perhaps that was something.

I think nowadays it wouldn’t be any problem if the parameter definition for SQL-code also be {parameter}. Just converting all the existing brackets to curly ones is a bit of a challenge as brackets are also used in other contexts such as Array pointers and Alias naming. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings