Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: underscore.js?

  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    44
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question underscore.js?

    Do any of you use underscore.js or is there another more popular library or tool I should use to do these kinds of things?

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,335
    Thanks
    11
    Thanked 588 Times in 569 Posts
    there are dozens of 1.6 libraries out there. Jazzo and i both have one in the "post a javascript" section, prototype is the king daddy of them, and jQuery offers many functional programming constructs. dustin diaz has a 2kb Array1.6 lib floating around.

    I didn't like underscores duck typing, templating, and loose-comparisons, but i do think the type of functionality it provides is very useful. I cannot live without [].map and [].filter, so i can't criticize any array implementation too much. I do like that underscore is not a huge file, about 10kb the last i checked. For my use, i have smaller ones i like better, but you can do a lot worse than underscore.
    Last edited by rnd me; 02-27-2010 at 08:56 PM.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •