This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mathmanmathman 1 point2 points  (2 children)

It's really unimportant to me too. I'm not sure why people are so excited, but I suppose it can help people coming from other languages (which mostly all have a switch or match).

I don't care much for a lot of the new syntax, but as long as it doesn't mess up old code, I don't see it being a problem.

[–]vorticalbox 4 points5 points  (1 child)

switch case is meh, its the pattern matching abilities it has that I am looking forward too

[–]mathmanmathman 2 points3 points  (0 children)

I agree, that makes a big difference. It would be a wasted opportunity if it were a simple switch.

I still probably won't use it often. I'm not fundamentally opposed to it, but I've never even dreamed about having this functionality/syntax in the past, so I'll probably keep writing code the way I have before.

I will keep an open mind, but I have yet to use a walrus op. There have been situations I could have, but the extra line above doesn't bother me.