4 ms·
It seems like everyone else is giving you flak so let me offer some words of encouragement: This looks great! This really makes functional programming more re
by olympus 14y ago
It seems like everyone else is giving you flak so let me offer some words of encouragement:
This looks great! This really makes functional programming more readable. It forces the use of whitespace which is my favorite part about python. It lets me easily sort the arguments to each function.
Don't mind the other people telling you about smart editors, that's just a band-aid over the problem of parens.
You've come up with a better way of writing functional code, just like CoffeScript is a better way of writing JavaScript.
Now for some constructive criticism:
You might want to add a note that your implementation on Github requires Haskell.
You only have syntax highlighting for Emacs. Maybe give vim some love next?
If you develop it further you will want better documentation or people will walk away just because they can't get it started.
- deleted 14y ago[deleted]
- emmelaich 14y agoI also love it. I had been designing a language in my head like this. I called it "spacy" as in space rich and a bit off the wall. (As others have noted there are similar specs/languages around) I had been struggling with what to do about continuation lines and multiple arguments. I think you solved the second very nicely. As for chosen indentation; let the programmer decide. The first use of space (number of) or tabs determines it for the rest of the file. Any other indentation is a syntax error.