Julia Programming Language
Syntactic sugar: (x==2) and y=12 ; or even (x == 2) && y=12
Internals & Design
djsegal
May 17, 2018, 10:16pm
2
just to build on this. kind of similar to:
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Short circuit evaluation with an assignment statement
General Usage
8
997
May 22, 2019
Why did converting && and || to `and` and `or` die?
Internals & Design
question
,
proposal
9
1538
July 24, 2017
One-line `if ... then ...` syntax
Internals & Design
syntax
26
5478
April 22, 2022
Use ⟹ instead of &&?
New to Julia
question
12
840
October 1, 2024
Apparent contradiction between Julia's short-circuiting rules and Julia's precedence rules
Internals & Design
11
1561
November 12, 2018