Live data from Hacker News

Show HN: Coffee Filter, useful coffeescript functions for user interaction

mgeraci.github.com

11–15 of 15 posts

Re: Show HN: Coffee Filter, useful coffeescript functions for user interaction

#11
post #10

Why are all the function names in snake_case instead of camelCase?

That's a holdover of the project from which I extracted these, reachably. We decided to use snake case across html css and javascript to keep things standard - feel free to judge that decision.

Given that people will most likely be using this in more traditionally camel cased situations, I think I will go through and change that this weekend. Thanks for pointing that out!

Re: Show HN: Coffee Filter, useful coffeescript functions for user interaction

#12
post #11
post #10

Why are all the function names in snake_case instead of camelCase?

That's a holdover of the project from which I extracted these, reachably. We decided to use snake case across html css and javascript to keep things standard - feel free to judge that decision. Given that people will most likely be using this in more traditionally camel cased situations, I think I will go through and change that this weekend. Thanks for pointing that out!

Please keep the snake_case. Think of all the things that CoffeeScript borrowed from ruby while omitting the snake_case. We aren't that far from being able to write most frontend code with snake_case. All it would take is a Backbone fork and a jQuery wrapper to get us most of the way there!

Re: Show HN: Coffee Filter, useful coffeescript functions for user interaction

#13
post #11

Earlier quoted context omitted.

That's a holdover of the project from which I extracted these, reachably. We decided to use snake case across html css and javascript to keep things standard - feel free to judge that decision. Given that people will most likely be using this in more traditionally camel cased situations, I think I will go through and change that this weekend. Thanks for pointing that out!

Please keep the snake_case. Think of all the things that CoffeeScript borrowed from ruby while omitting the snake_case. We aren't that far from being able to write most frontend code with snake_case. All it would take is a Backbone fork and a jQuery wrapper to get us most of the way there!

Interesting perspective! I agree, but think the majority of people prefer semantics by language.

Re: Show HN: Coffee Filter, useful coffeescript functions for user interaction

#15
The library name is quite misleading. I was expecting extensions to the CoffeeScript language. But instead this is just a bunch of javascript functions written in coffeescript for use with JQuery. A better name might be "JQuery helpers".

A nicely designed site though.

Post reply on HN