Jonny Bits
optoelectro.bsky.social
Jonny Bits
@optoelectro.bsky.social
Just some guy who writes code
This week I found myself needing to come up with a function returning an object which would be strongly typed based on a property from the objects from the input array.
This is what I ended up with, the only gotcha is needing 'as const' on the the input array. #TypeScript
November 9, 2024 at 5:52 PM
As a frontend platform engineer, my users are other engineers!
Which means I miss your grandma even more than you do.
October 31, 2024 at 2:02 PM
In what must surely be the world's greatest use of AI this week, I have created a Slack response template which successfully masks my sarcasm and derision.
October 31, 2024 at 12:04 PM
If I had a dollar for every time someone in my company asked me why we're not "just using GRPC" on the frontend...

Let's just say I'd have enough money to buy the company, and still have enough left over to get the professional help I need.
October 31, 2024 at 8:43 AM
It's 8am, the kids have got to get ready for school and I'm crying at Bluey again
October 31, 2024 at 7:26 AM
Checkmate, JavaScript
October 30, 2024 at 8:58 AM