Recent submissions

Comment · 3 months ago
This reads like a marketing stunt for Noma. The cute name, the logo, the clickbait title, the dramatic tone in an article that seems targeted at a non-technical audience... And the actual vulnerability is what, that if you give an LLM private data and let random people interact with it, it may leak the data? Well, duh.
Comment · 11 months ago
Similar feelings here. Ruby's philosophy of providing a ton of different ways to do the same thing can lead to some pretty sweet-looking code, almost like poetry... but I'd rather have Python's stylistic consistency and better-integrated type hints. Now that Python has Poetry and uv, Ruby's main remaining advantage has evaporated and it's hard for me to justify using the language.

Another thing I don't like about Ruby is how much the community has embraced the Clean Code brand of readability snake oil. It's easy to come by the opinion that any function over 5 lines is a code smell and over 10 lines it's outright bad. I've even heard the view that if-else statements are a code smell and I should always try to replace them with different classes that have the same interface. To be fair, that only happened twice, but that's two more times than I've heard it from users of any other language. I think that the Python community usually strikes a better balance between avoiding excessive function/class length and avoiding excessive indirection.

Comment · 1 year ago
PHP has its significant flaws, but superficial syntactic differences aren't among them. In my experience, it takes two weeks to get used to pretty much any syntax.
Comment · 1 year ago
Thanks!
Comment · 1 year ago
Is that different from what is happening already? A lot of people won't adopt a language/technology unless it has a huge repository of answers on StackOverflow, mature tooling, and a decent hiring pool.

I'm not saying you're definitely wrong, but if you think that LLMs are going to bring qualitative change rather than just another thing to consider, then I'm interested in why.

Comment · 1 year ago
> the inefficacy of the popular forms of 'brainstorming' compared to the more painful forms that work

Interesting, what's your recommended resource for learning more about this?

Comment · 1 year ago
I'm not the creator, the credit for that goes to Arie Bovenberg. I just wanted to show this to people.
Comment · 1 year ago
I think wesselbindt meant that datetimes should not inherit from dates.
Comment · 1 year ago
> My theory: what matters isn't "best practices", it's have a coherent conceptual design and code that reflects that design.

I think so too; that said, the language could definitely be better. It suffers from a lot of primitive obsession. Instead of structs, you often find either vectors or lists with predefined element positions; instead of map, ordered map, and multimap types, it's just various kinds of lists everywhere. They're not even used consistently: for the same thing, one package may use an alist and another a plist.

Comment · 1 year ago
Programming with string templates, in a highly complex and footgun-rich markup language, is one of the things I find most offputting about the DevOps ecosystem.
Comment · 1 year ago
I'm not seeing any empirical data in the article.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton