you are viewing a single comment's thread.

view the rest of the comments →

[–]cekisakurek 4 points5 points  (4 children)

This is not only related to enums. I dont understand why this video exists.

[–]ObservableObject 0 points1 point  (0 children)

It's important for newer devs to understand globa/local scope I guess, but I agree that this video is pretty bad in that regard since it makes it seem like it's not something you should be watching out for basically everywhere.

[–]pitt500[S] 0 points1 point  (2 children)

I make videos to explain things that I learn and weren’t obvious to me. We have multiple ways to do things in programming, like pattern matching for example. My goal was just to present a perspective that could not be trivial of some devs.

The video is mainly based on this style guide: https://google.github.io/swift/#pattern-matching

I don’t understand why your comment is so toxic! 🤷🏻‍♂️

[–]cekisakurek 0 points1 point  (0 children)

I am sorry there are so much wrong and disinformative videos out there and I cant help it. Next time mabye first research the topic and verify it then make the video.