3 ms·
I come back every couple of months when I have a new project involving sdfs. And almost every time it's a bit of trial and error figuring out the parameters. It
by on_the_train 10mo ago
I come back every couple of months when I have a new project involving sdfs. And almost every time it's a bit of trial and error figuring out the parameters. It's workable, but a minor pet peeve that they're not described or named better.
It's a priceless resource nevertheless.
- RogerL 10mo agoI was just about to say the same thing. This is bad code/documentation. Single letter variable names is almost always wrong if it isn't i for an index or such (and even then, would typing 'idx' kill you?). And as parameters, so much worse. Don't make me guess how to call your function please.
- vegabook 10mo agoor maybe terseness helps put your brain into pure algorithmic mode? After all that's how mathematical notation works and SDFs are pretty mathematical.