14 ms·
You can write haskell style in any language. but you don’t have to. function MyComponent(props) { return <p>Hello {props.name}</p> }
by srgpqt 8y ago
You can write haskell style in any language. but you don’t have to.
function MyComponent(props) { return <p>Hello {props.name}</p> }
- tracker1 8y agoimport React from 'react'; export default ({name}) => <p>Hello {name}</p>; So much nicer than Angular.
- marcosdumay 8y ago> You can write haskell style in any language. It would be great if that was true. The fact is that you can not copy Haskell in any mainstream language (Lisp gets the closest), and that hurts.