Earlier quoted context omitted.
You know your examples were/are considered new languages at one point, right?
yeah, but I feel they have a reason to exist. Clojure exists because it has interesting ideas about immutability, and is a lisp. Elm exists because FP. This exists because... Why? They thought we needed a new syntax for JSX? They thought we needed another language that was kind of like coffescript, but different in subtle ways? I don't know, and I can't see what this is bringing to the table.
Imba: A new programming language for web apps
111–120 of 131 posts
Re: Imba: A new programming language for web apps
#112Earlier quoted context omitted.
I get a little confused when people say they "compile" x scripting language into y scripting language.
Are you trying to be snarky or are you actually confused? Check out the wikipedia article on Transpilers for info on source to source compilers.
Maybe it looks like I'm nitpicking... If it got across like that, sorry. Not my intention at all.
Re: Imba: A new programming language for web apps
#113Earlier quoted context omitted.
I get a little confused when people say they "compile" x scripting language into y scripting language.
What would you call it other than "compiling"?
Re: Imba: A new programming language for web apps
#114I have a backlog of personal projects of various kinds that I have been tinkering with for years now. But since I'm a back end guy, that's what I normally work on when I have free time. Every time I decide that I'm going to take the plunge and get down and dirty with front end stuff, I get completely paralyzed by choice, and I end up deciding that the most sensible way for me to move forward is to learn the fundament…
- Do some analysis to break down your problem into manageable steps, until you reach steps small enough to action. For example, a task tracking board might have the following components: columns (representing "status"), drag and drop (which changes the position of some DOM elements, plus updates the task status), and a form (to capture the task status). So, look for ways to solve each of those problems. e.g. column might be made easier using a grid layout system, such as provided by Bootstrap. Drag and drop can be handled using HTML5 features. And form handling can be made easier (or fancier) using any number of libraries out there.
I wouldn't jump on a brand new language for the purpose of solving a problem, if you don't have a clear idea of the solution you would like to implement. Writing code is a means to an end, not a goal itself. It'd be easier to write a solution using methods you're familiar with, then rewriting it using different technologies.
Re: Imba: A new programming language for web apps
#115Ok, so what is the reason it is more than 10x faster than React (as claimed on their web-page)?
Re: Imba: A new programming language for web apps
#116All these languages du jour should go out of their way to answer the question: "why bother?". 10x faster than react. OK cool. Except unless it has something like react native it's irrelevant if you might want to write an app in future with any sort of code reuse since you'll be tied to the web (unless you want the inevitable world-of-pain of trying to integrate this preprocessor into your xcode/android builds...).
The React core team themselves admit that React Native is not about code-reuse, but instead what they call "learn-once-read-everywhere" To require that all javaScript web frameworks compile down to native app code is ridiculous.
I get the whole "because it's fun" reason - just make it clear that that's the motivation, and don't give the impression it's a serious React competitor if it has major shortcomings.
I'm fatigued by the continual "x times faster than React" libraries, as if that really matters. As with all the language/framework debates it comes down to the ecosystem. Raw speed just doesn't cut it for me.
Re: Imba: A new programming language for web apps
#117Earlier quoted context omitted.
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
#118Earlier quoted context omitted.
The React core team themselves admit that React Native is not about code-reuse, but instead what they call "learn-once-read-everywhere" To require that all javaScript web frameworks compile down to native app code is ridiculous.
It might not be about code reuse, but there will be things that can be ported, just not the DOM stuff (e.g. redux/flux logic, other UI-independent business logic). I get the whole "because it's fun" reason - just make it clear that that's the motivation, and don't give the impression it's a serious React competitor if it has major shortcomings. I'm fatigued by the continual "x times faster than React" libraries, as i…
I avoid (to some extent) apps and websites that consume a lot of phone/laptop battery. Like Quora and many popular newspaper websites.
Re: Imba: A new programming language for web apps
#119I have a backlog of personal projects of various kinds that I have been tinkering with for years now. But since I'm a back end guy, that's what I normally work on when I have free time. Every time I decide that I'm going to take the plunge and get down and dirty with front end stuff, I get completely paralyzed by choice, and I end up deciding that the most sensible way for me to move forward is to learn the fundament…
Re: Imba: A new programming language for web apps
#120To all people who reply negatively to this: don't you guys actually like learning new languages? Why?