3 ms·
Right. But the problem is that with an 'if let', it also locks for the 'else', which is not intuitive or expected. The problem is that the syntax of 'if let'
by kelnos 2y ago
Right. But the problem is that with an 'if let', it also locks for the 'else', which is not intuitive or expected.
The problem is that the syntax of 'if let' makes the programmer assume a particular scoping, but its desugaring implies something else.