News for hackers. Stuff that matters.
Re:Show HN: KatLang – Language for Calculations by Joker_vD on Thursday December 02, 2021 @09:09AM (#29416237)
> parameters appear in the method body anyway

Captured variables too appear in the method body. How do I tell those apart?

Re:Show HN: KatLang – Language for Calculations by rabarbers on Thursday December 02, 2021 @09:20AM (#29416396)
You need to carefully pick the right brackets () or {}. You can define an algorithm with both of the brackets, the difference is that () does not capture the parameter, but {} captures the parameter which is used inside the brackets. When You define a property, then property body is automatically interpreted as defined in {} brackets.