News for hackers. Stuff that matters.
Re:Interesting features from various modern programming lang... by hackerfromthefu on Friday November 10, 2017 @12:27PM (#15671396)
The cascade operator looks like an Object Pascal construct that originated decades ago, called 'using' in that language. e.g.

using myPoint .x = 1 .y = 1 end

a bit rusty on the syntax but that was the basics of it!

Re:Interesting features from various modern programming lang... by calvinr on Friday November 10, 2017 @01:08PM (#15671714)
It's also very similar to the with keyword in Visual Basic

With myPoint

  .x = 1

  .y = 1
End With