3 ms·
Using bind like that is perfectly fine in application code but I consider that a big violation of Principle of Least Surprise in library code. Nearly every pro
by rubiquity 11y ago
Using bind like that is perfectly fine in application code but I consider that a big violation of Principle of Least Surprise in library code.
Nearly every programming language in existence has some feature(s) that you can shoot yourself in the foot with. Does that mean you should do it?
- juliangregorian 11y agoIt's pretty standard practice for JavaScript libs. How much do you actually use JavaScript?