At 08:23 15/10/98 -0400, Brent Eades wrote:
>On 15 Oct 98, Jack Killpatrick wrote:
>
>> Also note that you will have to escape %,@ and $ in your javascript when
>> it is PRINTed to the browser (unless you want Perl to recognize the %,@
>> and $ variable designators).
<snip>
>It's odd, but I seem to have a terrible head for syntax -- having come to
>programming late in life, perhaps I just sort of "psych myself out" as to
>how easy/hard it all is. I can grasp the *conceptual* aspects of Perl and
>Javascript well enough -- this function calls these variables which
>calculate x,y,z, etc -- and can reason through the logic of other people's
>scripts fairly well, but when it comes time to write my own I quickly get
>lost in a sea of escapes, brackets and quote-marks.
As one who has come to programming at the ripe old age of 50, i can say I
had the same problem until I started learning java recently. And then I
leanrt all about how to use pseudocode. Made all the difference! Write out
the logic in English first and then refine the algorithm step by step. Only
once you've fully defined the logic in pseudocode do you even attempt to
convert to the programming language. And then it's quite easy.
>From what I understand, the biggest roadblock to writing good code is
trying to write code too soon before the logic is all mapped out.
regards,
franko
_________Frank Lee, Internet Strategist, Writer & Developer_________
Interactive Strategist, IBM Australia Ltd & Managing Director, Wired World
Consulting.
http://www.wiredworld.com.au/
Phone: +612 4977 1060 Fax: +612 4977 3253 Mobile: +61 411 614 934
Always live your life with one more dream, because when you stop dreaming,
life becomes mundane. - Sara Henderson
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------