Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alongub
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
alongub
10y ago
This might be an extremely stupid question, but does it make sense to apply the concept of mirror neurons to ANNs?
32.
▲
by
alongub
10y ago
That's a really good idea to make the future developers learn the Apple platform. But Microsoft had a better one; to buy Minecraft and add it to Visual Studio.
33.
▲
Ask HN: What are some missing Rust libraries?
8 points
by
alongub
11y ago
|
4 comments
34.
▲
Show HN: API documentation site template
(github.com)
3 points
by
alongub
11y ago
|
0 comments
35.
▲
by
alongub
12y ago
Semicolons: https://github.com/alongubkin/spider/issues/30 Type inference: https://github.com/alongubkin/spider/issues/58
36.
▲
by
alongub
12y ago
This is an open proposal: https://github.com/alongubkin/spider/issues/81
37.
▲
by
alongub
12y ago
You forgot that Spider embraces JS prototypes instead of just adding classes, ES6 target, explicit global scope usage, string interpolation, splats, `for-in` and `for-of`, list comprehensions, existential operator, ranges, and much more. Ta
38.
▲
by
alongub
12y ago
It is bugged, thanks! EDIT: Fixed
39.
▲
by
alongub
12y ago
Note that Spider comes _from_ an actual engineering requirement. http://spiderlang.org/#why-spider
40.
▲
Introducing Spider 0.1
(blog.spiderlang.org)
142 points
by
alongub
12y ago
|
72 comments
41.
▲
by
alongub
12y ago
This technique helped me figure out http://stackoverflow.com/q/25671410/140937 in seconds. This is gold. Thank you!
42.
▲
by
alongub
12y ago
fn is a often used as a variable name
43.
▲
by
alongub
12y ago
Appreciate your opinion! About the :: syntax: http://spiderlang.org/#code-safety-global-scope-usage About the extends/super syntax: http://spiderlang.org/#functions-inheritance
44.
▲
by
alongub
12y ago
Definitely not the focus! The extends/super keywords are just "shortcuts" to normal prototypal inheritance. I just thought that the time machine example was pretty cool :)
45.
▲
by
alongub
12y ago
Exactly. Syntax style is usually a matter of personal opinion. "Alien syntax" wasn't very objective and I should probably remove it from the website. However, ambiguous syntax is a huge problem of CoffeeScript. Read more here
46.
▲
by
alongub
12y ago
This is a huge issue, and I'm still thinking about it. That's why I didn't add native require support yet. I'm hoping that the community would come up with a good idea.
47.
▲
by
alongub
12y ago
You are welcome to make one! :)
48.
▲
by
alongub
12y ago
Of course, but I think he meant native modularity support, which is important IMO.
49.
▲
by
alongub
12y ago
I actually agree about this - two ways to do exactly the same thing is generally a bad thing when it comes to language design. But I think that a more important goal is to make the transition from Spider to JS as easy as possible.
50.
▲
by
alongub
12y ago
It's not that JavaScript syntax is difficult. It's that there are some common patterns that repeat themselves so much times. For example, safe object navigation. This code in Spider/CoffeeScript: var x = a?.b?.c?.d;
51.
▲
by
alongub
12y ago
I'm still unsure how to add modularity while maintaining compatibility with CommonJS, AMD, etc. I thought about adding a require statement such as: require "vm" require ( "util", "io"
52.
▲
by
alongub
12y ago
Spider was highly inspired by this article. In the original "Introducing Spider" article I wrote, I referenced it
53.
▲
by
alongub
12y ago
Hobby projects - definitely, but I wouldn't use it for production projects yet. Even though Spider currently has 92% test coverage, I believe Spider still needs more testing and feedback. Make sure to report any bug you encounter so I
54.
▲
by
alongub
12y ago
Of course. Swift does this as well BTW.
55.
▲
by
alongub
12y ago
This is definitely possible. Can you open an issue in GitHub?
56.
▲
Spider Programming Language
(spiderlang.org)
117 points
by
alongub
12y ago
|
82 comments
57.
▲
PhoneRTC: Easy video and voice chat in your Cordova app for Android and iOS
(phonertc.io)
4 points
by
alongub
12y ago
|
0 comments