The title is kinda funny to the russian ear because kal means feces in Russian :)
I chose it because it in Hebrew it roughly means something like easy/simple/BASIC.
edit: More importantly, does that make you more or less likely to use it?
11–20 of 130 posts
The title is kinda funny to the russian ear because kal means feces in Russian :)
I chose it because it in Hebrew it roughly means something like easy/simple/BASIC.
edit: More importantly, does that make you more or less likely to use it?
This is a project I've been working on in my spare time for a while now and I've finally decided to throw it out there and get some feedback. Do you think the 'wait for' callback syntax is useful? What big features do you think are missing?
Yay, another JavaScript super-set language that solves one problem.
Yay, another JavaScript super-set language that solves one problem.
Yay, another JavaScript super-set language that solves one problem.
https://github.com/kriskowal/q solves this today without needing to cross compile. http://koush.com/post/yield-await-v8 will address this natively however unlike Q or Kal you can't start using it today.
There is no need for hacks, just run node with the `--harmony` flag to get yield support today. Q is a huge, monster library. It's 2x the size of caolan/async, which is already bloated. I personally think it's better to use https://github.com/mbostock/queue or another small, understandable library.
I grant you that mbostock's queue is even smaller, but all are so tiny as to be a trivial download even on mobile.
The important issue here is IMHO not the size of the libraries, but how much they help you write maintainable code.
The syntax is a little verbose and might be shortened to something like C#: `user = await db.users.findOne {name:userName}`. Would be a lot more clear to me.
i really like the syntax - really close to english. is there a side-by-side comparison of kal and the generated javascript?
Apologies if you saw these already. I'll add something like what you suggested, though.