1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions
451.
JSLN: Meeting JSON Halfway(90s.dev ↗)
2 points · by 90s_dev · 1y ago · 1 comment
comment 1y ago · link · parent
comment 1y ago · link · parent
Honestly every language has warts, there are no perfect languages. I just personally don't like Go, mostly for the reasons stated above as well as in a recent article I can't find anymore but read a few weeks ago, mostly complaining about its well known ergonomics issues.
But yeah it's fine to use in prod for the same reason Java 6 and IE 6 were for a long time: nothing really matters but money when you're doing work work.
comment 1y ago · link · parent
The beauty of JSX is that it's not HTML, it's much more generic.
> And that's irrespectively of my view on jsx, the latter which I find non ergonomic and confusing.
You're in the very, very small minority here. JSX is very clear and intuitive and natural and ergonomic and lovely to most of us.
And I don't even like React!
Compare:
Without JSX: https://github.com/sdegutis/sys32.90s.dev/blob/26bcb088a3df6...
With JSX: https://github.com/sdegutis/os.90s.dev/blob/cc7310633d9ab186...
comment 1y ago · link · parent
C++ is an odd compilation target. Usually it's just C. I'd be curious to see what kind of C++ it emits, and whether the techniques it uses would be better exported as C++ libraries than a new language on top of C++.
comment 1y ago · link · parent
This is really clever. Why don't more languages do this? Also, is this the same analysis that does type checking? And does this technique make it unbearably slow?
comment 1y ago · link · parent
Also, why haven't we standardized a syntax yet? Seems like at this point we shouldn't be debating braces vs do/end vs indentation, and we should just settle.
> Lobster is a programming language that tries to combine the advantages of static typing and compile-time memory management with a very lightweight, friendly and terse syntax, by doing most of the heavy lifting for you.
That's... a non-sequitor? Syntax is interesting to discuss and think about it, but when I see "static typing and compile-time memory management", I want to jump right into knowing more about its implementatoin and usage. Does it use ref-counting? Is it embeddable like Lua? Does it have a VM or compile to machine code? etc.
comment 1y ago · link · parent
comment 1y ago · link · parent
On top of this, in its excessive caution about adding features while balancing incidental and essential complexity, it just hasn't evolved and kept up to meet the kinds of demands modern languages do like Zig, Rust, C3, Carbon and Odin, and while these languages were innovating, Go was still catching up to 10-20 years ago at any given moment. It was already kind of a weird middle ground, not quite as high level as Ruby, not quite as low level as C++, and this slow catch up game plus lack of keeping up was, for me at least, just the nail in the coffin. But all of this together makes me personally think that it's just not a great fit for most scenarios, but also that it seemed to have started off on the wrong foot with itself and the wider programming community.
That's my take at least.
comment 1y ago · link · parent
comment 1y ago · link · parent
On top of this, it doesn't "stack" well because of the low heart rate usage, meaning it logarithmically increases calorie costs (our bodies essentially amortize it), whereas lifting and carrying a heavy object for 20 seconds exponentially increases it.
comment 1y ago · link · parent
The only thing I would add to my comment is, let people know about it where they are. I posted my project to HN because it's based on a nostalgia we all share. Find a subreddit, or a forum, or a discord/slack or something where your userbase visits regularly, and let them know.
comment 1y ago · link · parent
This is how my book The Gospel by Gen Z became a best seller in 2023-2024. I did absolutely no advertising for it. People posted tiktoks about it of their own volition, got dozens of millions of views, and that was the source for 100% of my sales.
The same thing is true about my project I posted last night, still at the top of Show HN right now apparently. I spent about 6 months during 3 months time writing code that I personally thought was good and useful and powerful and interesting. When I shared it, it all went terribly wrong. I wrote the article in a rush while I was having a very bad day. I forwent polishing it up before releasing it. And yet it got lots and lots of upvotes for some reason.
I suck at advertising and promotion. I honestly really do. And to a large extent I feel like that's a good thing. I've always felt uncomfortable with the traditional route of advertising, which is basically to oversell the potential usefulness of your product, to the point of basically being straight up lying.
So I guess my only advice is to just make something you personally believe in, and the rest will follow.
comment 1y ago · link · parent
My main gripe with Lua (and thus Luau) is colons. It's so easy to forget them. Does the type checker catch this error? And if so, does it catch it every time, provided you always use types? If so, that could be good enough for me. Especially if it has strong LSP + VS Code support.
comment 1y ago · link · parent
Still, I don't like the React-classic style, the React-autoimport style, or the hybrid that you're advocating for. None work be very ergonomic and require tooling to at least give you errors that you forgot an import, which defeats the purpose of standardizing it at that point.