Hacker News new | ask | show | jobs
by LinasKo 1495 days ago
I'd find it nice to have a VS Code plugin to hide assertions. Specifically in Python, I see myself writing asserts to check for data boundaries, numpy array sizes, data types.

It takes space and diatracts a bit.

Bonus points if I could have a, for example "# /assertion_func" comment that would label a whole function to be folded together with asserts.