Viewing profile — GeZe
GeZe
HN member- Joined
- Mon, Jun 16, 2008, 1:15 PM UTC
- HN karma
- 136
- Public activity
- 46 items
- HN profile
- View on Hacker News ↗
About GeZe
No profile information was provided.
Recent public activity
-
comment
Comment #29101781
FYI, it would not be accurate to say that "The Flow people moved on to ReScript".
-
comment
Comment #29101702
Another example would be the difference between their enum features: https://medium.com/flow-type/typescript-enums-vs-flow-enums-... "TypeScript Enums vs. Flow Enums"
-
comment
Comment #29101679
Flow also supports "discriminated unions" [0], and did so before TypeScript (Flow's announcement in July 2015: https://flow.org/blog/2015/07/03/Disjoint-Unions/ , TypeScript's anno…
-
comment
Comment #28517655
Here are the docs for exporting/importing enums: https://flow.org/en/docs/enums/using-enums/#toc-exporting-en... - works fine with the new export/import syntax. Docs for enums comp…
- story
- story
-
comment
Comment #11964647
You can similarly search/replace JS code, but using pattern matching and CSS style selectors instead of writing code, with Grasp. It's usable from the command line like sed. http:/…
-
comment
Comment #7723273
For a tool dedicated to searching and replacing JS in this way (AST aware), check out http://graspjs.com You can use both CSS style selectors, and pattern matching, to both search …
-
comment
Comment #7048145
Self was one of the inspirations behind JavaScript, particularly its prototype system. http://en.wikipedia.org/wiki/Self_(programming_language)
- story
- comment
-
comment
Comment #6662470
Looks like someone has started one: https://github.com/joneshf/sublime-grasp
-
comment
Comment #6662200
Cool project! As monjaro mentions, the two examples are not equivalent however - the grasp example replaces every binary expression (alias: bi) with an addition operation with the …
-
comment
Comment #6661137
I plan to add support for both LiveScript and CoffeeScript to grasp in the future. PS. If anyone has any questions about grasp please let me know!
-
comment
Comment #6227958
If you are looking for a syntax closer to Haskell's, you can take a look at LiveScript ( http://livescript.net/ ) eg. getUserFriends = (userName) -> user Specifically, the section …
-
comment
Comment #5717144
More specifically, this has to do with the Big Mac Index by The Economist. http://en.wikipedia.org/wiki/Big_Mac_Index http://www.economist.com/content/big-mac-index
-
comment
Comment #5481687
LiveScript allows partially applied operators, including property access. You can do: totals = map (.total), orders http://livescript.net/
-
comment
Comment #5407859
For those who don't want to wait for the book, I've written a brief article covering some concepts of functional programming in JavaScript: http://livescript.net/blog/functional-pr…
-
comment
Comment #5314489
This syntax already exists in LiveScript ( http://livescript.net/#backcalls ) which compiles to straightforward JS. a
-
comment
Comment #5137853
The name is a joke, the project is not. "LiveScript was one of the original names for JavaScript, so it seemed fitting. It's an inside joke for those who know JavaScript well." (fr…
-
comment
Comment #5068497
Try learning Haskell. The concepts I discovered while learning it were very influential in my approach to other languages, even if I don't use Haskell itself all the time. I would …
-
comment
Comment #4990300
LiveScript compiles almost 1 to 1 to JavaScript and has no runtime, making it easier to debug and comprehend for JavaScript programmers. You can access and use any JavaScript libra…
-
comment
Comment #4990248
For those interested in functional programming, but with a desire for something a bit more pragmatic (and highly compatabile with CoffeeScript), you can check out LiveScript http:/…
- story
-
comment
Comment #4614721
60 character solution in LiveScript[0], without using 'if's, also easily extensible! [1 to 100]map(->[s for s,n of{Fizz:3,Buzz:5}|it%n [0] http://gkz.github.com/LiveScript/