Live data from Hacker News

Show HN: Imba – I have spent 7 years creating a programming language for the web

news.ycombinator.com

341–350 of 354 posts

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#341
post #100

Earlier quoted context omitted.

> It also works as a double entendre-- "con" in Spanish means "with". Triple even! In French it's the equivalent of "cunt".

And in English, to go full circle, a con is what a con man pulls; a confidence trick. Hey BTW, is a JS "const" really constant, or can it (like in some other languages) be changed after all? Because if it can, then it isn't really const but more of a con...

> Hey BTW, is a JS "const" really constant, or can it (like in some other languages) be changed after all? Because if it can, then it isn't really const but more of a con...

It's constant for things like numbers, but if you declare an array const, the only const things is the reference, the array can still mutate. con might be a good name for that.

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#342

There's a lot of css issues on mobile on imba.io

With a few minor exceptions, the responsive view looks great to me. The issues mentioned in this thread seem less to do with imba's architecture and more to do with rushed, last-minute marketing decisions (e.g. adding in the "we're hiring" chip; which, by the way, is fixed now). No excuses, of course, although as someone who painstakingly builds nice mobile views for complex web apps, no matter how good the library is (I was using Theme-ui), the process is still like building a house on-top of jello.

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#343
post #336

Earlier quoted context omitted.

Ha ha no. I didnt even have a discussion about that. I think i need to talk to my manager at some point. But he has been very supportive!

Just out of curiosity, what is your age? You can give a range if you are not comfortable sharing the exact number.

bro i'm 150,000 to 300,000

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#344
post #342

There's a lot of css issues on mobile on imba.io

With a few minor exceptions, the responsive view looks great to me. The issues mentioned in this thread seem less to do with imba's architecture and more to do with rushed, last-minute marketing decisions (e.g. adding in the "we're hiring" chip; which, by the way, is fixed now). No excuses, of course, although as someone who painstakingly builds nice mobile views for complex web apps, no matter how good the library i…

True, I wasn't even saying that as an accusation on the web framework, just pointed it out since the broken banner was a bit distracting.

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#345

Earlier quoted context omitted.

> 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…

> To do any real work with CSS means you have memorize a bunch of conflicting weirdness and/or keep a reference page open at all times. 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.

This is certainly true and we had paper books open on the desk at all times at IBM.

Who said the hardest part of programming is naming things? Some people do a better job than others. CSS is really wildly inconsistent within in itself. Is it another case of worse is better? Ugh. Probably.

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#347

Earlier 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…

But then how do you gather promises together to run them in parallel? For sophisticated apps this is crucial.

Each promise you create are executed already on creation.

But you gather them by using:

`await Promise.allSettled([promise1, promise2, promise3])`

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#348
post #215
post #129

This read like gibberish to me name Why are we moving away from elegant legible HTML/JS/CSS stack to no nightmares like this and React where everything is smooshed together? > bringing the elegance and concision of Ruby into the browser As a big fan of Ruby how does this tap into the elegance of Ruby? Ruby is readable, this is not. In Ruby it's very difficult to write code that makes people suffer greatly to understa…

Thought this at first but it's just tailwind css aliases. They are interchangeable with the full name. fs = font-size fw = font-width ta = text-align c = color

what I don't understand is why not have these abbreviations as snippets (text expansions) in the IDE, instead of language primitives?

So that the primitives match what people are familiar with from before, and match the actual web standards/specifications.

So that code which is reproduced and communicated online is also immediately readable for people who are not familiar with the abbreviations.

To gain adoption, reducing onboarding friction is key, and judging from my impression of Imba, as well as others' comments here, I think a lot of that unnecessary friction could be reduced.

On the other hand, if pros like reading very terse code, maybe an IDE plugin could be made to toggle the abbreviations.

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#349

This is just a clone of Svelte? It even has one of the same examples.. and similar syntax. Better productivity is nice, but putting an abstracting in the way could be worse because it hides stuff from you you would otherwise learn or even make better yourself, this is also how we get slow apps which web based applications are infamous for. We need more native apps and new areas to explore not more of the same billion…

It's more like the other way around..

The truth about Svelte: https://gist.github.com/Rich-Harris/0f910048478c2a6505d1c321...

Svelte was a minimalistic and familiarity-optimised response to Imba:

"These projects are all very cool, but there's a reason they haven't hit mass adoption: they want to control the entire world. You can't adopt Elm or Imba incrementally" - Rich Harris of Svelte

Imba: Created in 2010. Released some 7 years ago, Github repo in around 2015. https://imba.github.io/imba-guide/lvl0/about/

Svelte: Initial release November 26, 2016. https://en.wikipedia.org/wiki/Svelte

Re: Show HN: Imba – I have spent 7 years creating a programming language for the web

#350

Wow you are clearly a genius. The syntax looks beautiful! This is great. I don't want to use it (the best tool for the job for me is one that fits my own mental models, my own mind, and this is not it) but you are a genius. Also -- wow those Nordics are super productive programmers/coders/developers/open-sorcerers (Sindre Aarsaether & Sindre Sorhus & Linus Torvalds & ... ...) -- could it maybe have something to do wi…

> please insert other names below to educate me Bjarne Stroustrup, Anders Hejlsberg.

Other Norwegian CS super-heroes, and what they invented.

-- MVC and DCI, invented by:

Trygve Reenskaug - https://en.wikipedia.org/wiki/Trygve_Reenskaug

-- Simula language, invented by:

Ole-Johan Dahl

Kristen Nygaard

https://en.wikipedia.org/wiki/Simula

Simula: first OO-language, introduced objects, classes, inheritance and subclasses, virtual procedures, coroutines, and discrete event simulation, and inspired languages such as Smalltalk, Java and C++.

Post reply on HN