Hacker News new | ask | show | jobs
by srgpqt 2771 days ago
You can write haskell style in any language. but you don’t have to.

function MyComponent(props) { return <p>Hello {props.name}</p> }

2 comments

    import React from 'react';

    export default ({name}) => <p>Hello {name}</p>;
So much nicer than Angular.
> 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.