gka / d3-jetpack

🚀 Nifty convenience wrappers that speed up your daily work with d3.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ƒ ?

nise opened this issue · comments

Why is there a non-standard ascii-symbol used inside the code?

Firefox complains about it. Programmers on the other hand, get struggle to finde the symbol on their keyboard.

I replaced ƒ by f, which makes it easier.

I use it quite a lot inside of other function calls so only taking up on character is nice.

Adding a single letter variable name to the global name space is a little rude/risky, so ƒ is used to reduce the likelihood of collision. As the readme notes, you can also use d3.f.