Forgive my ignorance if I’m missing something obvious; I am completely new to JavaScript, but so far have found react/vue/etc confusing, outdated, and unnecessary for my performance needs, versus going raw with the latest features. It sounds like I might be missing something that could hurt me down the line. Thanks.
Show HN: Imba – I have spent 7 years creating a programming language for the web
91–100 of 354 posts
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#92Earlier quoted context omitted.
Why do you think this? "const" seems clearer to me. "con" seems very open to misinterpretation: could mean many things. Are there any advantages to "con" over "const"?
My guess is the OP dislikes the difference in keyword length.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#93I’m sick of programming languages that use “fast typing” and “productiveness” as a selling point. There’s no selling point in being productive doing a counter in a few seconds, production scenarios are far more complex and very often all those new programming languages fall short to their promise. Btw I don’t want to be fast or productive, I want to write code that works decently and is great for other humans myself…
Someone else may want you to be fast and productive. Or... they'll find someone else who can provide what they want who is faster and more productive than you.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#94Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#95Congrats How do you make money out of it? Are you working full time on this? Why YC funded this, could you tell me opportunity here?
Ironically, it seems the company focused on content to teach primarily other technologies while using Imba to build it all. It's a rather fascinating story actually, which I'm paraphrasing and probably mostly got wrong, but if you're interested you can read more on their hiring page: https://scrimba.recruitee.com
N.B.: I'm not in any way affiliated with Imba or Scrimba. The first time I heard of the technology and the company was today, through HN, so I have no skin in this game. I'm probably also mostly wrong about everything above, so you know..
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#96Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#97Earlier quoted context omitted.
My guess is the OP dislikes the difference in keyword length.
I just always use let because it looks better. Const provides pretty much no value in js anyway.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#98I don't get that push to put so much logic in the frontend. Connections are getting faster and if we load only smaller amounts of data in each request we can have a really great experience without the hassle of all this complexity.
For example, if I need to do complex form validation in real time I could send the form value to the backend, have it validate, and receive a response which introduces a lot potential of failure points. Alternatively I could write some logic on the frontend to validate, and this problem expands as the amount of fields in your form increases.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#99Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#100One thing that irks me about Javascript is "const". I think it should have been called "con". "var", "let", "con". So the first thing I did here is look up the docs and see how variables are declared. Aaarghh.. "let" and "const" again :)
I've thought about this a lot. I considered "con" for constants. I don't hate it. It also works as a double entendre-- "con" in Spanish means "with". So the following code could be read as "with name equal to Brad". con name = 'Brad' I can't help but feel that it's somewhat jarring though. If I had my druthers, I think I would choose "var" and "def" to declare mutable and immutable variables, respectively. def PI = 3…
Triple even! In French it's the equivalent of "cunt".