Writing about TypeScript, Javascript, Rust and more.
All of my long-form thoughts on programming, leadership, product design, and more, collected in chronological order.
Re-Writing in Rust == faster with more features
Making a feature faster than the node equivalent, whilst adding more capabilities
How to avoid a potential bug with JSDoc + @typedef
With no build-step in sight, it can be tempting to put more and more type information into comments.
At least 7 reasons to avoid @ts-expect-error and @ts-ignore
After a deep dive, I now consider both to be dangerous.
Destructure with care. The story of a Typescript gotcha
A problem that even the strictest Typescript/ESLint settings cannot help with.
Typescript and JSDoc, shared names for Types + Values
Showing how you can re-use the same name for types and values with Zod. Includes sample in Typescript + JSDoc
Unwrap a value with the question mark operator in Rust
Step-by-step explanation of use-cases for the `?` operator in Rust
Places I've written in the past
As a serial stop/start blogger I've written in countless places in the past. The following links represent the ones I stayed around long enough for
Dev.to Articles
Previous articles written on Dev.to
dev.to/shakyshane
Medium Articles
Previous articles written on Medium
medium.com/@shakyShane