Pattern matching in six programming languages
source link: https://www.youtube.com/watch?v=5GyxWuPP5e4&ab_channel=MicheleRiva
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
82 subscribers
You can support me on Patreon: https://www.patreon.com/michelerivacode
In this video, we're going to see the differences between the implementation of pattern matching in six different programming languages: #Haskell, #PHP, #Fsharp, #Crystal, #Kotlin, and #Scheme. Please note that I'm not comparing performances or code beauty, just syntax and coding style.
You can follow along by running my code examples for free on https://repl.it:
PHP: https://repl.it/@micheleriva/P02-PHP Kotlin: https://repl.it/@micheleriva/P02-Kotlin Crystal: https://repl.it/@micheleriva/P02-Crystal Scheme: https://repl.it/@micheleriva/P02-Scheme F#: https://repl.it/@micheleriva/P02-F Haskell: https://repl.it/@micheleriva/P02-Haskell
Find me on social media:
GitHub: https://github.com/MicheleRiva Linkedin: https://www.linkedin.com/in/MicheleRi... Twitter: https://twitter.com/MicheleRivaCode Instagram: https://www.instagram.com/mitch_sleva Personal website: https://www.micheleriva.it
Chapters: 00:00 Video introduction 00:50 PHP 8 02:47 Kotlin 03:38 Crystal 04:34 Scheme 05:50 F# 06:56 Haskell
Show lessShow more
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK