Re: Creating constants in JavaScript



Trevor L. wrote on 17 feb 2007 in microsoft.public.scripting.jscript:

Evertjan. wrote:
Trevor L. wrote on 16 feb 2007 in microsoft.public.scripting.jscript:

Evertjan. wrote:
Trevor L. wrote on 16 feb 2007 in
microsoft.public.scripting.jscript:

I seem to recall other suggestions that the thing do now is "Get
another newsreader". Having to find one and learn how to use it
could be a problem

If that is a problem for you, how could you learn to understand the
difference between a variable and a constant?


The short answer is about 30 years experience in the IT profession.

A longer answer would be that it is a hassle I don't need or want
To expand on why it is a hassle -
[...]

You indeed are very picky, and further more you are posting binaary
in a non-binary group, being a sin in itself, but probably done
outside your expertise by Outlook.

I wouldn't know about that.
What constitutes "posting binary" ?
What makes this a "non-binary group" ?
And what diffference does it make ?

Dear Trevor,

This is a newsgroup on Usenet, and posting binary attachments outside goups
that have "binary" in it's name is ot allowed by Netiquette for good
reason.

I am not going to teach you Usenet Netiquette, you can look it up on the
web.

I don't use Outlook, I use Outlook Express 6.

We know that, your post showed:

X-Newsreader: Microsoft Outlook Express 6.00.2900.3028

Same junk, just another type.

All news readers I know of can be set to use any news server that lets you
in, some are free, some are paid servers. Your ISP [grapevine.net.au?]
surely has a free news server available for you. Better news servers have
more than 50000 groups available.

I strongly suggest you get a dedicated news reader too, most are free.

Anyway it is just a tool. I don't need to know how it works.

Your actions prove you are wrong.

On the other hand, 30 years of IT professionalism, you should know
how to work with, and behave on usenet.

No, I didn't use any newgroups or converse on the internet in any way
(email apart) until my retirement a few years ago.

I thought that this is just a newsgroup that anyone can use and that
the user doesn't have to know anything about Usenet.

If you drive the roads, you have to know it is polite to drive on the side
that is locally customary and not to kill the other road users.

"just a newsgroup" is nonsense, it is a newsgroup on usenet.

Why would the general user know about Usenet, even as to what it is ?
Where would the user be directed to any reference to it ?
Where are users made to read the guidelines

Look it up on the web, wikipedia or a search engine.

or sign a declaration that they will abide by them ?

Did you sign a declaration not to kill other road users or being polite to
other road users?

.. and you were told that not finding comp.lang.javascript on your
microsoft server has nothing to do with the newsreader you use, just
by the news server, so use another news server.

So I can use OE6 to read another news server ?

Probably, I do not use junk like Outlook [-E]

But then, how do I do it ?
If the answers are all in the help in OE6, then this is a rhetorical
question.
Otherwise, this is part of the hassle I referred to before.

Learn!
Learn!
Learn!

With 30 years of IT professionalism, well ... I wonder.

Then again 30 years isn't that much of exterience.

Many of us go back far longer,
when gates were called nand and nor, not bill.

I first learnt some progamming in 1962, including some machine
language, moved to a computing area in 1975, became an IT professional
in the 80s (I forget when) and retired in 2003. But my career didn't
include much micro programming, just "ancient" mainframes and more
lately Unix. We had micros on our desks but didn't have to program
them.

A IT professional that likes his or her job would love to know more than he
or her "had to", methinks.

Unix, not being a programming language, would be difficult to programme?

What do you mean by "microprogramming"?
Programming the innards of a microprocessor with microcode to provide
opcode for assembler programming?

After all, being able to drive a car doesn't make one a mechanic.

Humbug, you have to know how to use the steering wheel and the brake.
And even sometimes how to put petrol in the tank.

Knowing the source code of Outlook or any better news reader is not
required.

BTW,
Surely the purpose of newgroups is to help others to reduce their
ignorance in particular areas or of specific problems.

No!

The purpose of usenet newsgroups is to converse about on-topic topics with
a wide group of similarily inclined users. This can sometimes mean helping
each other but it is not the primary purpose.

The topic is shown in the title and usually explained in the NG [newsgroup]
charter.

Also read the NG-FAQ if available, especcially if you plan to ask a Q
[question] that has been asked so many times that is is covered in the FAQ.

comp.lang.javascript has it's FAQ here: <http://www.jibbering.com/faq/>

Usenet btw, is twice as old as the World Wide Web.

===============================================================

So welcome to usenet, old timer, but please have a look at the customes,
as I would not want you to get burned in a flame war.

For example, I am not ignorant of the difference between a constant
and a variable, and I know this why? Because I worked in IT. Statement
of fact, not a boast. But of course, I am ignorant of other things. As
is everyone.

The difference is an artificial one in most languages where the difference
exists, mostly a constant is just a read-only variable.

In older times [assembler, "primitive" higher languages], that the constant
could do with less memory than a variable, was an important consideration,
but that is mostly passé, except perhaps in the dedicated microprocessor
world like in chipcards etc.

So Javascript does not bother with the difference [al variables even being
of the variant type], and that is only detrimental to the executing speed
of repeating large string concatenation.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.



Relevant Pages

  • Re: Accordions and this community became infected by strange bacteria
    ... I have *no* control over the usenet newsgroup. ... where there is a single point at which all articles can be ... When I was running a news server, ...
    (rec.music.makers.squeezebox)
  • Re: A few Schema2 questions.
    ... Plus Net's news server. ... attach yourself to Giganews or one of the other main Usenet ... feeds carrying argonet.*.* at outlets such as: ... comp.sys.acorn.apps newsgroup. ...
    (comp.sys.acorn.apps)
  • Re: Two silly Q?s.........
    ... It's a *text only* News Server (which doesn't carry Binary ... But you would have to *ReSet* the Newsgroup, in your Newsreader, surely? ... Cos the Headers of the Messages (in particular the "Xref: ... Usenet server ...
    (uk.people.silversurfers)
  • Re: Vista General
    ... I already had this News Account and I was already reading THIS newsgroup. ... It may be listed as "Microsoft Communities" or "Microsoft Discussion Groups" or "Microsoft Public Newsgroups". ... Or keep using your current news server. ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: Deletion of Newgroup Message Headers
    ... You don't tell us the news server you are using, ... > What is happening is that all the headers and downloaded messages from ... >> Are these messages you have saved to your Desktop actual *.nws files? ... >> Please reply only to newsgroup. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)