My view on programming languages in 2024:
C/C++ ➡️ Rust
Objective C ➡️ Swift
Python/Ruby/Perl/PHP/Java/Scala ➡️ Go
JavaScript ➡️ TypeScript
Bash ➡️ Bash
teaching myself Perl now... favorite part so far has to be that brackets are whatever character you feel like they should be for that line.
Nothing feels quite as hacky yet right as s(hello)[world] being the same as s/hello/world/
to clarify to an audience of not just Stephanie - Lexicon is a schema definition language designed to suit our specific protocol needs (i.e. lots of open unions). It’s a little verbose due to being JSON, but this lets it be very easily machine-and-human readable, and it serves us very well
We totally could have a custom syntax instead, but imo JSON lets it be immediately obvious what the heck you’re looking at.
Also check out atproto.tools/lexicons - it’s actually pretty smooth authoring them nowadays
In the case of the embed record view, it can be a post, a blocked, post, a list, a feed, etc. But also since we’re an open network, it could be any old thing (i.e. a whitewind blog post) that we might not know about yet. Basically “one of these things or something else”
github.com/bluesky-soci...