[Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-12-01 Thread Victor
1. Declaration with value assignment 2. Declare loop variables and cache length inside of for() - this can increase performance http://jsperf.com/caching-array-length/67 - caching length outside of for() is slower in almost all results (all Firefox and Safari, IE9 and some Chrome results) 3.

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-12-01 Thread Phil Petree
Hysterical!!! Thanks for that laugh!!! On Dec 1, 2011 9:01 AM, Victor vkhomyac...@gmail.com wrote: 1. Declaration with value assignment 2. Declare loop variables and cache length inside of for() - this can increase performance http://jsperf.com/caching-array-length/67 - caching length

[Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-30 Thread T.J. Crowder
Other than the unnecessary assignment to `child`, doesn't look that bad to me... How would you improve it? -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com On Nov 30, 6:38 am, Victor vkhomyac...@gmail.com wrote: Also CoffeeScript sometimes

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-29 Thread Pablo Aravena
Is an object oriented language, and you can combine it with a selector engine like jquery. I think is a good match for a migration, just my point of view. Regards Pablo On Mon, Nov 28, 2011 at 11:57 AM, buda www...@pochta.ru wrote: But it's only new syntax sugar - not framework like

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-29 Thread Victor
Take a look at RightJS http://rightjs.org/ - it is very close to Prototype+Scripty, and (still) has very operative support at Google groupshttps://groups.google.com/forum/?hl=rupli=1#%21forum/rightjs -- You received this message because you are subscribed to the Google Groups Prototype

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-29 Thread Walter Lee Davis
CoffeeScript is nothing more than a compact and terse programming language to generate JavaScript. Think of it as HAML for JavaScript. When you use CoffeeScript, it gets compiled into JavaScript before it is served to the browser. It's not a framework, although there are some goodies to make

[Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-29 Thread Jelks
Thank you for that Victor, RightJS looks really cool. Just looking at the docs, it *feels* like Prototype, but it seems to go way further. I hadn't even heard about it before. Thank you!!! Jelks On Nov 29, 8:54 am, Victor vkhomyac...@gmail.com wrote: Take a look at RightJS

Re: [Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-29 Thread Victor
Also CoffeeScript sometimes generates very ugly code. Example: CoffeeScript: SelectParser.select_to_array = (select) - parser = new SelectParser() parser.add_node( child ) for child in select.childNodes parser.parsed Generated JavaScript: SelectParser.select_to_array = function(select) {

[Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-28 Thread buda
But it's only new syntax sugar - not framework like Prototype with many features!! On 28 ноя, 18:48, Pablo Aravena paraven...@gmail.com wrote: Hi buda I think there will be no new releases of prototype in the near future. That is sad, but some months ago I began looking at CoffeScript and I

[Proto-Scripty] Re: Where is ver. 2.0 is coming?

2011-11-28 Thread buda
I'm vary sad - I have to migarte on jQuery ((( On 28 ноя, 21:57, buda www...@pochta.ru wrote: But it's only new syntax sugar - not framework like Prototype with many features!! On 28 ноя, 18:48, Pablo Aravena paraven...@gmail.com wrote: Hi buda I think there will be no new