Hacker News

n013
Monkey Patching in VBA ecp-solutions.github.io

EvanAnderson4 hours ago

If it's not immediately clear toyou what this thing (ASF) (like it wasn't to me) this quote from the Github README is useful:

> JavaScript-like scripting language implemented entirely in VBA. Zero COM dependencies. Native Office object model integration with runtime monkey patching capabilities.

That's bananas!

The specific feature being referred-to by the current title ("Monkey Patching in VBA") is functionality to allow you to override or add additional methods to the stock Office COM objects in this ASF scripting language. That's wild.

The extensibility of the Office object model using VBA is powerful and horrifying.

RyJones2 hours ago

VBA is an interesting language. The builtins are huge - C++ may never have a loan amortization primitive, but VBA sure did/does

[deleted]4 days agocollapsed

_boffin_4 hours ago

Okay… this is novel to me and love it! Wish I knew about this 10 years ago.

hn-front (c) 2024 voximity
source