[ale] More JavaScript

Richard Bronosky richard at bronosky.com
Wed May 1 12:53:29 EDT 2013


I've been writing javascript professionally since 1996.
https://github.com/RichardBronosky/resume I love to help people. Open
Source software changed my life and allowed me to escape a coal mining town
in Eastern Kentucky. I try to pass along the favor every chance I get. This
is why I spend dozens of hours every week on forums, mailing lists, and IRC
channels.

The recipients of help have to give some effort to help themselves as well.
By choosing not to use the tools available to you, you require everyone who
would contribute to you, to have to invest a much larger effort to
understand, diagnose, and describe the solution. I understand that learning
"yet another tool" like jsfiddle can seem like a barrier to a "tiny
problem". But you owe it to your helpers to help them where you can. It's
not fair to plunge everyone back into 1996 just because you are in a hurry.

If you were to do this on the javascript/ecmascript channels on Freenode
you would be warned, kicked, then banned for repeatedly refusing to follow
advice. We are a much more forgiving community (when politics &
corporations are not being discussed) but respect is respect.


On Wed, May 1, 2013 at 8:27 AM, Geoffrey Myers <lists at serioustechnology.com>
 wrote:

> The value is taken directly from the code. It's a known good value.
>
> --
> From my iPhone
> Geoffrey Myers
>
> On Apr 30, 2013, at 7:09 PM, Alex Carver <agcarver+ale at acarver.net> wrote:
>
> > On 4/30/2013 15:58, Jim Lynch wrote:
> >> On 04/30/2013 03:26 PM, Geoffrey Myers wrote:
> >>> InvertView('o', LinkDiv)
> >>>
> >>> Will fail.
> >>>
> >>> InvertView() loops through the arg list doing this:
> >>>
> >>> arguments[i+1].style.display =
> >>> (Arguments[i] == 'o') ? "block" : "none"
> >>>
> >>> Fails with: Arguments[i+1].style is undefined.
> >> Maybe test?
> >>
> >> if(arguments[i+1].style != undefined) {
> >>     arguments[i+1].style.display =
> >>     Arguments[i] == 'o') ? "block" : "none"
> >> }
> >
> > if ( arguments[i+1] != null && argments[i+1].style != undefined)
> > {
> > ...
> > }
> >
> > Short circuit conditional just to be sure the object exists first before
> attempting to test a property.
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
.!# RichardBronosky #!.


On Wed, May 1, 2013 at 8:27 AM, Geoffrey Myers
<lists at serioustechnology.com>wrote:

> The value is taken directly from the code. It's a known good value.
>
> --
> From my iPhone
> Geoffrey Myers
>
> On Apr 30, 2013, at 7:09 PM, Alex Carver <agcarver+ale at acarver.net> wrote:
>
> > On 4/30/2013 15:58, Jim Lynch wrote:
> >> On 04/30/2013 03:26 PM, Geoffrey Myers wrote:
> >>> InvertView('o', LinkDiv)
> >>>
> >>> Will fail.
> >>>
> >>> InvertView() loops through the arg list doing this:
> >>>
> >>> arguments[i+1].style.display =
> >>> (Arguments[i] == 'o') ? "block" : "none"
> >>>
> >>> Fails with: Arguments[i+1].style is undefined.
> >> Maybe test?
> >>
> >> if(arguments[i+1].style != undefined) {
> >>     arguments[i+1].style.display =
> >>     Arguments[i] == 'o') ? "block" : "none"
> >> }
> >
> > if ( arguments[i+1] != null && argments[i+1].style != undefined)
> > {
> > ...
> > }
> >
> > Short circuit conditional just to be sure the object exists first before
> attempting to test a property.
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
.!# RichardBronosky #!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130501/e3b504f5/attachment.html>


More information about the Ale mailing list