On Monday, November 13, 2017 at 2:20:22 AM UTC+1, Ben Bacarisse wrote:
> Thomas 'PointedEars' Lahn <
Point...@web.de> writes:
> > Ben Bacarisse wrote:
> >
> >> Thomas 'PointedEars' Lahn <
Point...@web.de> writes:
> >>
> >> Are you counting the "..."? (I would not be surprised!) Otherwise I
> >> see only one.
> >
> > The dots are the obvious syntax errors, yes.
>
> As I said, I am not surprised. You probably say "yes" when asked if you
> want red or white at a party.
He's a jerk, most of the objections are simply nonsense as far as one keeps
in mind 1) that you have replied using the original code, which is just fine
unless one does decide to get deeper, and 2) that you did say the code was
just written as that, probably with errors in it.
That said, your code is indeed and usually ugly (just as any beginner's
code is, be reassured), though for more general reasons. One example,
<script language=JavaScript>
is indeed horrific, not just the use of the language attribute but even
more (to my taste) the missing quotes around the value. Sure, it will
validate re some or other standard, but that's indeed not the whole
story... And you might now say "what the heck is actually wrong with
that", and that's a legitimate question, that you will be able to answer
yourself when you have at least written ten million lines of production code
yourself (the number is from the top of my head, just take the figure
of speech), and then e.g. you start getting proficient with "defensive
coding", by which I mean how to prevents bugs from occurring at all: and
with JS running on so many heterogeneous platforms, this is particularly
important (but the same is with HTML). Not to mention the aesthetic side
of things, which instead one can only appreciate after some 20 years of
production level work (now this is quite precise), where aesthetics means
you can finally and literally *feel* the thingy...
Have fun,
Julio