News for hackers. Stuff that matters.
Re:Will VBA Die? (2019) by ptx on Friday February 28, 2020 @04:55AM (#22441689)
Did you build some kind of component tree diffing for the reactive UI, like React? Or data binding?

And how did you design the async parts, given that VBA doesn't have first-class functions? Classes and interfaces? Or nested event loops?

Re:Will VBA Die? (2019) by kevas on Friday February 28, 2020 @01:51PM (#22445249)
Vba has classes, enumerated, interfaces, events, collections, stacks, queues, array lists, dictionary, and more.
Re:Will VBA Die? (2019) by ptx on Friday February 28, 2020 @09:18PM (#22448279)
I didn't mean to imply that it doesn't, and I know that it does - but I was just curious about how you built the reactive UI and the async features.

I did some async stuff in VBA recently (with events) and it was a bit of a mess, which I'd like to clean up if possible. VBA has classes but not anonymous classes, and not anonymous functions either, so you can't easily do callbacks. And the error handling mechanism is not great.