Show HN: Imba – I have spent 7 years creating a programming language for the web
31–40 of 354 posts
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#32I'm impressed!
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#33One 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 :)
Personally I don’t use any languages with reserved words
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#34Would it be possible with this to just apply tailwind css classes instead of learning this built in style syntax?
Sure, you can apply tailwind classes like ` ` etc, but I'd definitely recommend using the built in styling as it is much more powerful (value interpolation, flexible modifiers etc).
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#35Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#36This looks very cool, thanks for sharing! I took a cursory look at the docs and it looks like async/await is pretty much directly analogous to how it works in JS, with the difference that you don't need to mark functions as async in order to use the await keyword. Does this mean that if you use await in any function then any other function calling it will have to be refactored to add an await keyword, just like you h…
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#37Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#38Looks cool. I'm honestly curious as to why a lot of new web languages/frameworks are mixing logic and content in the same file again though. The distinction between HTML, JS and CSS always made perfect sense to me. Anyone care to enlighten me?
So, if you split by technology, you don't have the code belonging to one feature in one place.
Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#39Re: Show HN: Imba – I have spent 7 years creating a programming language for the web
#40Looks cool. I'm honestly curious as to why a lot of new web languages/frameworks are mixing logic and content in the same file again though. The distinction between HTML, JS and CSS always made perfect sense to me. Anyone care to enlighten me?