Bell System

social.omar.website

Omar Rizwan . @omar,

like on a WebSocket, because of the API design, it's on you to basically provide a handler for anything happening -- it doesn't crash your program or give you a weird return value on your critical path when something goes wrong (as it would in traditional imperative-C-talking-to-TCP, I think)

Open thread
Omar Rizwan . @omar,

i guess the intuitive argument for why plain HTTP works better than WebSocket is like the thing about why rebooting your computer works. HTTP requests reset the system state every time, so they usually work; WebSockets don't

Open thread
Omar Rizwan . @omar,

it also reminds me of the very different 'feel' of JavaScript dynamic types and, say, Python dynamic types -- Python will actually stop if you have a type error and not keep going, which makes it feel much less likely to get into weird undefined states.

the silent coercion and event-driven/concurrent APIs in Web stuff both make it really easy to only see the happy path during development, so you end up with a very shaky system

Open thread