General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Samurai Josh
Kantan Coding
comments
Comments by "Samurai Josh" (@samuraijosh1595) on "Kantan Coding" channel.
Previous
1
Next
...
All
it has nothing to do with inheritcance. At least the Haskell one. Its just syntax feature and you can unwrap really deep into a nested data type using pattern matching in haskell. for example if you have: data NestedType = Constructr1 Maybe (Maybe Int) you can do: func : : NestedType -> Int func (Constructor1 (Just (Just 3))) = 3 * 3 pretty expressive.
4
yeah he's underselling haskell here
2
Pattern matching is just a monster-level feature-rich switch case. You can deeply pattern match on a value. Makes for very expressive coding.
2
no way
1
@relt_ no it performs better than vtables.
1
Previous
1
Next
...
All