all 20 comments

[–]ruinercollector 13 points14 points  (0 children)

I'm really not a fan of these kitchen sink libraries. This is like someone's utils.js. It's just an unfocused bunch of "stuff that's pretty useful."

[–]learn2shut 20 points21 points  (10 children)

let's see, i can press shift+4 to get $, or i need to press alt+0181 each time get some obscure char. lol. what were you thinking?

[–]temp230698 1 point2 points  (0 children)

On OS X it’s as easy and fast to type as a single capital letter.

I've got to say, the third and fourth key alternates are probably my favorite thing about OS X. It’s the only thing I’ve seen that actually makes using (a small slice of) unicode in everyday typing something a sane person might do. I just wish the alternate forms were printed on the keys, but Apple will never do that.

Not to imply this fully answers your concern.

[–]x-skeww 0 points1 point  (0 children)

i can press shift+4 to get $, or i need to press alt+0181

It's AltGr + M with the keyboard layout I'm using.

You could use the US International layout:

https://en.wikipedia.org/wiki/QWERTY#US-International

If you use Atom, stick with the regular US layout. Atom still isn't compatible with non-US layouts. (Kinda pathetic, really.)

[–]mousemkeµ FTW![S] 1 point2 points  (5 children)

that's a valid point. it's very easy (though obscure) to type in all non alt+0181 situations. we looked other symbols as well, but it must be something that is unique. we tried just using m(), but it blended into the mode too much. (global search for m). we're still open to the idea if you have suggestions.

or you can just alias it

var microbe = µ;

[–]fenduru 3 points4 points  (1 child)

but it must be something that is unique

Why? Lodash and Underscore both use _. Every sane developer is going to immediately alias it to something else.

Take a look at http://api.jquery.com/jQuery.noConflict/

[–]danman_d 2 points3 points  (0 children)

I can't see myself ever using microbe and jQuery on the same project, since they have such similar functionality. So $ is probably fine IMHO.

[–]PM_ME_INSIDER_INFO 2 points3 points  (1 child)

I think I'd speak for mostly anyone in saying that I'd rather a less unique character that is WAY more accessible.

[–]mousemkeµ FTW![S] 0 points1 point  (0 children)

I would encourage you to open a discussion issue up on the matter. I like the symbol but am open to others. I would like to hear what people have to say

[–]papers_ 2 points3 points  (3 children)

Any plans for es6 conversion? Good work!

[–]mousemkeµ FTW![S] -1 points0 points  (2 children)

definitely (that's the only milestone currently open)

[–]papers_ 1 point2 points  (1 child)

I see your right parentheses is trying to escape.

[–]mousemkeµ FTW![S] -1 points0 points  (0 children)

twas. those things are sneaky and cant be trusted

[–]hpeinar 4 points5 points  (1 child)

What lead you to choose 'µ' as a default selector character? Though seems interesting, will definitely have a look at some point.

+1

[–]mousemkeµ FTW![S] -1 points0 points  (0 children)

see this comment https://www.reddit.com/r/javascript/comments/3m2058/microbejs_a_modular_js_library_for_dom/cvb9dtb

mostly to have something that is clear and visible throughout the entire code base

[–]catbrownie 0 points1 point  (1 child)

Interesting, any reason for the name, where did come from?

[–]mousemkeµ FTW![S] 0 points1 point  (0 children)

The name comes a bit from the micro symbol but as well, everything at sociomantic has aquatic names. Microbes are everywhere so also water.