Will the boolean "&&' become deprecated as the '++' and '--', etc.?

I recently did a 'SwiftFormat' of some corporate code that had converted '&&' boolean to a comma ','.
It was flagged as an. error during code review with the reason that it wasn't standard as in the 'C' languages the many are used to.

So it begs the question: will '&&' eventually become deprecated in a future Swift build?

1 Like

No. The operator is usable in situations where the comma is not.

if (a && b) || c {
else {

Not to mention that it only works at all in if statements.