Live data from Hacker News

Imba: A new programming language for web apps

imba.io

91–100 of 131 posts

Re: Imba: A new programming language for web apps

#91
post #53

Non-closing html tags? Looking at the doc it seems it is using the same structure as hiccup or hyperscript except. What was the reasoning?

Well the rest of the language is indentation-based and lacks closing delimiters so it would be inconsistent for the embedded markup to have closing delimiters.

Re: Imba: A new programming language for web apps

#92
post #67

Doesn't solve any of the big problems with large scale javascript apps: 1) Lack of type checking leading to exploding runtime exceptions 2) Object inheritance/prototype is weird and counter intuitive to other OO languages 3) Lack of proper encapsulation leading to spaghetti code when combined with #1 I suspect we are in for a new era of languages targeting web assembly to be used as webapp frontends and backends but…

Yes, exactly:

http://www.elevatesoft.com/blog?action=view&id=why_limit_web...

Re: Imba: A new programming language for web apps

#93
post #67

Doesn't solve any of the big problems with large scale javascript apps: 1) Lack of type checking leading to exploding runtime exceptions 2) Object inheritance/prototype is weird and counter intuitive to other OO languages 3) Lack of proper encapsulation leading to spaghetti code when combined with #1 I suspect we are in for a new era of languages targeting web assembly to be used as webapp frontends and backends but…

JavaScript is syntax sugar for Scheme (Lisp variant). Lisp is proven to support large scale apps, but you need to cook it using another cookbook.

Re: Imba: A new programming language for web apps

#94
post #93
post #67

Doesn't solve any of the big problems with large scale javascript apps: 1) Lack of type checking leading to exploding runtime exceptions 2) Object inheritance/prototype is weird and counter intuitive to other OO languages 3) Lack of proper encapsulation leading to spaghetti code when combined with #1 I suspect we are in for a new era of languages targeting web assembly to be used as webapp frontends and backends but…

JavaScript is syntax sugar for Scheme (Lisp variant). Lisp is proven to support large scale apps, but you need to cook it using another cookbook.

I have a lot of respect for Lisp/Scheme, but I wouldn't regard Emacs as the most maintainable of large scale apps. Besides, the ability level of the average Lisp/Scheme developer and the average Javascript developer is likely not commensurate.

Re: Imba: A new programming language for web apps

#95

I've been following Imba for the past several months since the initial announcement on HN. I like the clean syntax, tags, and high performance, so I hope you guys attract interest despite all the library/framework fatigue we're experiencing in frontend JS land. It's rather refreshing to be able to write code and view all together, like .css(appropriate_styling) It would be great if you had some walked-through example…

I think the HTML standard prohibits you from using non-standard tags like or , unless they have a dash in them.

Re: Imba: A new programming language for web apps

#96
post #67

Doesn't solve any of the big problems with large scale javascript apps: 1) Lack of type checking leading to exploding runtime exceptions 2) Object inheritance/prototype is weird and counter intuitive to other OO languages 3) Lack of proper encapsulation leading to spaghetti code when combined with #1 I suspect we are in for a new era of languages targeting web assembly to be used as webapp frontends and backends but…

Yes, exactly: http://www.elevatesoft.com/blog?action=view&id=why_limit_web...

Thanks for the link! Yes, I think this generation of Javascript developers will eventually need to come to grips with this.

Re: Imba: A new programming language for web apps

#97

I've been following Imba for the past several months since the initial announcement on HN. I like the clean syntax, tags, and high performance, so I hope you guys attract interest despite all the library/framework fatigue we're experiencing in frontend JS land. It's rather refreshing to be able to write code and view all together, like .css(appropriate_styling) It would be great if you had some walked-through example…

I think the HTML standard prohibits you from using non-standard tags like or , unless they have a dash in them.

As you can see from inspecting the examples, any non-standard tag will use standard tags in the dom, with a class denoting their imba type.

Re: Imba: A new programming language for web apps

#98
post #79
post #76

Earlier quoted context omitted.

Javascript is disguised to look like Java because people keep trying to "fix" it.

It was designed from the very beginning by Eich to look like Java and not because subsequent people tried to "fix" it. Where are you getting this stuff?

ES2015 just added the class keyword to make it look like java last year. IIRC the new keyword wasn't part of javascript in those first two weeks when javascript was released.

Where are you getting this stuff?

Re: Imba: A new programming language for web apps

#100
post #94
post #93

Earlier quoted context omitted.

JavaScript is syntax sugar for Scheme (Lisp variant). Lisp is proven to support large scale apps, but you need to cook it using another cookbook.

I have a lot of respect for Lisp/Scheme, but I wouldn't regard Emacs as the most maintainable of large scale apps. Besides, the ability level of the average Lisp/Scheme developer and the average Javascript developer is likely not commensurate.

It is funny that I downvoted on YCombinator site. :-) See few hints how to write efficient lisp: http://www.paulgraham.com/carl.html . You can apply them to JS too.
Post reply on HN