andrei
markeev.com
andrei
@markeev.com
Principal full-stack engineer who codes for 25+ years, both professionally and as a hobby.

- TypeScript and C
- NGINX, Kubernetes, Nodejs, MongoDB, MySQL
- Vue, React
- Webdev, compilers and IDEs, IoT and wearables, gamedev, etc
it returns undefined, because return statement doesn’t allow line break right after return. thankfully, modern IDEs will most likely give you a squiggly warning or even error, depending on your settings.
January 21, 2025 at 4:00 PM
I disable js in Chrome Dev Tools or use text browser e.g. lynx
January 13, 2025 at 8:11 AM
I also released ts2c 2.2.10 to npm - that's gonna be the last version based on TypeScript most likely.

The online demo at andrei-markeev.github.io/ts2c/ is using 2.2.10 for now.
ts2c - Convert JavaScript/TypeScript to C
andrei-markeev.github.io
January 4, 2025 at 12:49 AM
Even though I despise dynamic forms, but I built a dynamic forms engine myself about 3 years ago, to replace manually built forms 🤷‍♂️

The use case literally demanded it.

It was a long onboarding wizard with huge amount of customization per location, and we had hundreds of locations.
January 2, 2025 at 9:36 PM
Ah so it was form generation from a schema?

Yeah I wholeheartedly agree that in 95% cases it's better to make forms manually. Like write them in JSX. If non-devs want to do it, there's e.g. Figma and then devs can brush up the result.

However, there are different use cases too.
January 2, 2025 at 9:36 PM
sounds actually like a cool project to me :)

I did "intelligent" forms several times, for React and Vue, but never had to work with AST transforms for this, typings were enough.

it might be challenging, but why horrible?
January 2, 2025 at 8:38 PM
January 2, 2025 at 3:55 PM
I am actually quite proud of myself:

1. Investing a lot of hard work and still being able to withdraw is not easy.

2. Learned quite a bit about #javascript performance from this exercise :)
January 2, 2025 at 1:19 PM