HN user

srgpqt

669 karma
Posts1
Comments180
View on HN

I have found google to be aggravating enough these days that I've experimentally switched my default search engine to Yahoo. It feels a lot like the old (good) google, though only having 5 results per page is a bit disappointing. So far so good, will probably stick to it for a while.

Beaming desires directly to your skull is obviously the next step. Then we can make sure you want to buy a PlausibleBurger as soon as you get your paycheck.

Dear Aliens 3 years ago

They follow the “fail fast, crash early” design philosophy.

Or so you would think, but malformed or invalid xml is so commonplace, that most good feed readers use very lax or forgiving xml parsers. I’ve never seen such issues with JSON in practice.

a format that is great at everything

I too want a magical flying unicorn, and maybe we can make one in the next 40 years, but in the mean time I will happily accept to be stuck with a magical jpegxl unicorn that can’t fly.

Even C has a (simple) type system. The problem is that everyone (especially the standard library) take every opportunity to avoid it, instead casting everything to plain void pointers or char pointers. Thus the compiler can’t do much for safety checks.

The good news is that you can build typesafe alternatives on top of the underlying std crap. Would be nice to have a standard <stdstruct.h> that provides common typesafe structs for things like os paths, sql strings, html strings, etc. just like <stdint.h> did for sized integers.

I’ve rolled my own typesafe wrappers fo my current C project and it’s been great so far.