James Briggs
Mar 21, 2021

--

Hey Charles, I think the pros are more to do with the pattern match (eg final example) over the switch-case functionality. Taking the final example, it would be pretty messy (although doable for sure) with regex? Or would you suggest a different approach to that?

--

--

James Briggs
James Briggs

Written by James Briggs

Freelance ML engineer learning and writing about everything. I post a lot on YT https://www.youtube.com/c/jamesbriggs

No responses yet