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
1013
May 22, 2019
Why did converting && and || to `and` and `or` die?
Internals & Design
question
,
proposal
9
1567
July 24, 2017
Apparent contradiction between Julia's short-circuiting rules and Julia's precedence rules
Internals & Design
11
1596
November 12, 2018
How to do one-liners and other short conditionals?
General Usage
10
1334
September 27, 2017
Short circuit operators
General Usage
6
1129
May 22, 2017