Show HN: Imba – I have spent 7 years creating a programming language for the web
281–290 of 354 posts
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#282Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#283Earlier quoted context omitted.
Asynchronous code can sometimes be difficult to write efficiently so having implicit awaits might help with avoiding accidentally made fire and forget calls. An interesting concept might be to explicitly call a function as asynchronous with a new keyword flipping the typical usage of ‘await’. I’d still advocate for the usage of ‘async’ in function signatures though as it helps when reasoning through an asynchronous c…
I started working in node around version 0.8, before both native Promises and async/await. I worked with guys that started after async/await. The new guys just think of everything like it's synchronous. They don't understand Promises. They never look at code and think "I can run this in parallel with Promise.all and a reducer". They just await each thing one at a time. So, I'm not sure the async/await annotations are…
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#284I just want to compliment the OP on a very clear and comprehensive website at https://imba.io/ . It clearly explains (by showing and telling) what Imba is, why I should care, how it works and how to get started. The floating demo applications even work well on mobile. Rare to see this level of polish for these things.
Is it just me? This website is super laggy on my PC (which can run modern games just fine). Hardly hits 50 fps when scrolling. How slow can one get and still claim to be fast?
I have a low spec PC, and it is running just fine.
Maybe some extension slows down your Firefox? I don't use an anti-ads and anti-spam extension, I deal with that via hosts file.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#285Hi Dan, I noticed that the links in the post are actual links here, unlike usual and what https://news.ycombinator.com/formatdoc says. Is this new? Is it just for Show HNs?
See also https://news.ycombinator.com/newsfaq.html:
Q: How do I make a link in a text submission?
A: You can't. This is to prevent people from submitting a link with their comments in a privileged position at the top of the page. If you want to submit a link with comments, just submit it, then add a regular comment.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#286Earlier quoted context omitted.
Is it just me? This website is super laggy on my PC (which can run modern games just fine). Hardly hits 50 fps when scrolling. How slow can one get and still claim to be fast?
Not just you, I have a pretty beefy desktop and it's noticeably laggy when scrolling for me too. EDIT: ah - butter smooth in edge (and presumably chrome too), but laggy in firefox.
It's really bad with Hardware Accel turned off, but it's still a bit laggier with it on compared to chrome/edge.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#287Earlier quoted context omitted.
Typescript will cover this!
Typescript lets you call into un-annotated libraries or annotate things as `any` or whatever.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#288Earlier quoted context omitted.
> Create a good language and people will flock. What a truthfully useless statement. "Good" means having opinions about things that dont matter? Like "I don't like that css uses full words, I prefer these acronyms" Who gives a shit? Is this language designed to prevent copy pasting? You may be on to something here.
No that's not what good is, I in fact love languages with concise syntax, Java is probably the worst in that department.
And this garbage css syntax is not concise, it's stupid, it's concise in the same sense that emoji is concise comparing to English.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#289Earlier quoted context omitted.
lack of types and it used to be ignorant of perf in the generated code (creating IIFE unnecessarily)
Regarding types, you're right, though JSDoc can get you very far Regarding perf (performance, I guess?) - are you speaking of the single, global one? As CS takes care of variable scoping automatically, I think it makes a lot of sense (and is deactivatable anyway)
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#290Earlier quoted context omitted.
> The distinction between HTML, JS and CSS always made perfect sense to me. Really? HTML is already heavy on syntax, and the whole point of SGML-style angle-bracket markup is to invisibly structure text hierarchically and sneak in rendering properties or other "metadata" not rendered to the user, via attributes. In which universe, then, has it ever made sense to write rather than in a document representation language…
> The end effect is that CSS isn't approachable for even seasoned graphic artists let alone laymen; another effect being browser complexity resulting in monopolies. This is so true. CSS has become a multi-headed Hydra whose parts appear completely unrelated to each other. I've been a developer and designer for more than 20 years and I have no idea what the parameter names and orders are for position, versus grids, ve…
I agree with CSS being complicated, but this statement is true for pretty much everything. Not a day goes by I don’t close 20+ reference tabs at the end of the day, not counting what I closed throughout the day. It’s simply impossible to be a polyglot and not use references.