Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread fernando trasvina
On Dec 28, 2010, at 1:39 AM, Garrett Smith wrote: > On 12/27/10, fernando trasvina wrote: >> >> On Dec 26, 2010, at 5:30 PM, Garrett Smith wrote: >> >>> On 12/26/10, fernando trasvina wrote: On Dec 26, 2010, at 2:36 AM, Garrett Smith wrote: > On 12/25/10, fernando trasvin

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Garrett Smith
On 12/27/10, fernando trasvina wrote: > > On Dec 26, 2010, at 5:30 PM, Garrett Smith wrote: > >> On 12/26/10, fernando trasvina wrote: >>> >>> On Dec 26, 2010, at 2:36 AM, Garrett Smith wrote: >>> On 12/25/10, fernando trasvina wrote: > > On Dec 24, 2010, at 8:44 PM, Garrett Smith w

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Diego Perini
On Tue, Dec 28, 2010 at 12:51 AM, Dean Edwards wrote: > On 27/12/2010 15:34, Diego Perini wrote: >> >> See also this tweet: >> http://twitter.com/diegoperini/status/18000977856561152 >> > > Let's all rally around a 140 byte text transmission! Who's with me? > I did my part ! Posted in ticket smal

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Andrew Hedges
Re-tweeted from http://twitter.com/segdeha - and...@hedges.name / http://andrew.hedges.name/ On Tue, December 28, 2010 12:51 pm, Dean Edwards wrote: > On 27/12/2010 15:34, Diego Perini wrote: >> See also this tweet: http://twitter.com/diegoperini/status/18000977856561152 >> > > Let's all rall

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Dean Edwards
On 27/12/2010 15:34, Diego Perini wrote: See also this tweet: http://twitter.com/diegoperini/status/18000977856561152 Let's all rally around a 140 byte text transmission! Who's with me? -dean -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.c

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Dmitry A. Soshnikov
On 27.12.2010 23:17, Angus Croll wrote: So anyway your later python vs. Js examples would not apply to languages like java Yes, of course. That what I described as "second-class static classes", where "second-class" term means classes cannot participate as normal data (i.e. be passed as ar

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread fernando trasvina
On Dec 26, 2010, at 4:12 AM, Dmitry A. Soshnikov wrote: > On 26.12.2010 3:51, fernando trasvina wrote: >> >> >> On Dec 25, 2010, at 1:51 PM, Dmitry A. Soshnikov wrote: >> >>> On 25.12.2010 2:46, fernando trasvina wrote: >>> >>> [...] >>> What crockford is trying to point is that you sho

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread fernando trasvina
On Dec 26, 2010, at 5:30 PM, Garrett Smith wrote: > On 12/26/10, fernando trasvina wrote: >> >> On Dec 26, 2010, at 2:36 AM, Garrett Smith wrote: >> >>> On 12/25/10, fernando trasvina wrote: On Dec 24, 2010, at 8:44 PM, Garrett Smith wrote: > On 12/24/10, fernando trasvin

[JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Angus Croll
Dmitry - thanks. I really appreciate this detailed answer. Your insight is very valuable. One thing (and I know you know this of course) python class definition is entirely different from languages like java in which the classes are static - which on the one hand helps to maintain order and our 'm

Re: [JSMentors] Constructive criticism please!

2010-12-27 Thread Nick Morgan
Thanks Lasse. Yes, I'm very aware that (a) others have written about this and (b) JS isn't the only language where this is an issue. I thought that (a) it would be useful to have a new perspective on the subject and (b) JavaScript programmers are more likely to read about it if it's about JavaScrip

Re: [JSMentors] Constructive criticism please!

2010-12-27 Thread Lasse Reichstein
On Mon, 27 Dec 2010 13:13:31 +0100, Nick Morgan wrote: Hi guys I've written a new blog post about something that's been bothering me for a while - the distinction between pass-by-reference and pass-by-value. http://skilldrick.co.uk/2010/12/clearing-up-the-confusion-around-javascript-refe

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Diego Perini
On Mon, Dec 27, 2010 at 4:23 PM, Dean Edwards wrote: > On 27/12/2010 12:00, Nick Morgan wrote: >> >>    Unfortunately, it looks like it’s a feature. See >>    http://code.google.com/p/chromium/issues/detail?id=60889#c7: >> >> >> I've been following this issue for about 6 months and not much seems

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Dean Edwards
On 27/12/2010 12:00, Nick Morgan wrote: Unfortunately, it looks like it’s a feature. See http://code.google.com/p/chromium/issues/detail?id=60889#c7: I've been following this issue for about 6 months and not much seems to have changed in that time. I'm not holding out hope for there be

Re: [JSMentors] Constructive criticism please!

2010-12-27 Thread Dmitry A. Soshnikov
On 27.12.2010 17:37, Nick Morgan wrote: I'm only one or two steps up from a novice :) Well, then accept my congrats, since only then you can explain the topic easy, when you completely understand it. And I see that you explained it correctly and in easy manner. Dmitry. -- To view archiv

Re: [JSMentors] Javascript Unit Testing

2010-12-27 Thread Miller Medeiros
I can see the video without any problem. YUI Test has all the features I need for the kind of stuff I'm writing unit tests and I never had any kind of issues with it (I only started using it last month), before I was using a couple different ones (qUnit, evidence, ...) but I like the way YUI Test

Re: [JSMentors] Constructive criticism please!

2010-12-27 Thread Nick Morgan
Thanks for the feedback Dmitry. It's definitely for novices, as I think currently I'm only one or two steps up from a novice :) I've added a link to your name binding section and your evaulation strategies article as I think they're really useful for people wanting to know more about the theory. (

Re: [JSMentors] Constructive criticism please!

2010-12-27 Thread Dmitry A. Soshnikov
Hehe, I like those examples with cats ;) Technically, you describe all correct. The article is quite good for novices. Though usually exactly `by-value` is used (regarding ES) for both cases (objects, primitives): in case of object the address is passed as a value (your "wire" in the article).

Re: [JSMentors] Please give me some constructive criticism on my blog post (about references) [Was: Constructive criticism please!]

2010-12-27 Thread Nick Morgan
Duly noted :) On 27 December 2010 13:51, Richard D. Worth wrote: > In the future, may I suggest you select a better subject for your message. > When I scanned the subject I assumed you were requesting people offer more > constructive criticism (in general) when replying on this forum, especially

[JSMentors] Constructive criticism please!

2010-12-27 Thread Nick Morgan
Hi guys I've written a new blog post about something that's been bothering me for a while - the distinction between pass-by-reference and pass-by-value. http://skilldrick.co.uk/2010/12/clearing-up-the-confusion-around-javascript-references/

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Nick Morgan
> > > Unfortunately, it looks like it’s a feature. See > http://code.google.com/p/chromium/issues/detail?id=60889#c7: > > I've been following this issue for about 6 months and not much seems to have changed in that time. I'm not holding out hope for there being a fix, but it would definitely be nic

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Dmitry A. Soshnikov
On 27.12.2010 14:01, Jose Antonio Perez wrote: We can classify _without_ the `class` keyword. And as I mentioned, languages which are considered as class-based (Python, CoffeeScript), in real, are the same delegation/prototype-based as JavaScript and the `class` keyword is just

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Jose Antonio Perez
> > We can classify _without_ the `class` keyword. And as I mentioned, > languages which are considered as class-based (Python, CoffeeScript), in > real, are the same delegation/prototype-based as JavaScript and the `class` > keyword is just a _syntactic sugar_. All this is true in a world in wh

Re: [JSMentors] Re: HTML5 File API in Chrome

2010-12-27 Thread Mathias Bynens
On Fri, Dec 24, 2010 at 12:40 AM, Farhan Ahmed wrote: > Thanks for the tips and the test cases guys - I'll check out the command > line option for Chrome. Hopefully this will be "fixed" (unless it's a > feature!) in future versions. Unfortunately, it looks like it’s a feature. See http://code.goo

Re: [JSMentors] Re: Still confused with prototypal OO

2010-12-27 Thread Dmitry A. Soshnikov
Yes, Angus, all you said is directly related with JavaScript and is correct. However, I wanted to underline the idea that concept of a "class" is not about syntax and a keyword `class` in the language, but about exactly the _ability to classify_. Ability to classify relates not even to language