473,395 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Three basic JS questions.

If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?

Also, from scratch if one has only a reasonable knowledge of HTML, and
if the person wa sprepared to work at learning JS for say a dozen hours
per week, how long would the average person take to learn JS to a
moderate degree?

Finally, can anyone please suggest some good books for beginner's
learning JS (or links, etc). I have always used books before, expect
there are so many to chose from and opinions are welcomed.

Thanks.
Mar 11 '06 #1
8 1151

Noone Here wrote:
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?


I think that PHP would be the logical choice after JS. Some parts of it
are much like JS, except done on the server level. It has the advantage
that it can not be turned off by a viewing browser, as can JS. In fact
some aspects of PHP code are so much like JS that it is easy to make
little mistakes because you use what is correct for JS rather than PHP
unless you pay careful attention. For example, a JS statement does not
have to have a closing ";" if it ends on a line. However a PHP
statement must always have a closing ";". This is one reason why many
say you should always use a closing ";" when writing JS, since this
saves one possible easy mistake when you shift languages.

Mar 11 '06 #2
Noone Here said the following on 3/11/2006 9:49 AM:
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?
Rather than pick "easy" languages, pick the ones that are most likely to
benefit you.

PHP or ASP (Server Side J/VBScript)
And then an SQL language. Either SQL or mySQL.
Also, from scratch if one has only a reasonable knowledge of HTML, and
if the person wa sprepared to work at learning JS for say a dozen hours
per week, how long would the average person take to learn JS to a
moderate degree?
A year, minimum, depending on your desire to be "moderate".
Finally, can anyone please suggest some good books for beginner's
learning JS (or links, etc). I have always used books before, expect
there are so many to chose from and opinions are welcomed.


The FAQ and it's links, with the exception of w3schools.com
As for books, there aren't any. They all have problems and are outdated.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 11 '06 #3
cwdjrxyz wrote:
Noone Here wrote:
[Which language is similar to JS?]
I think that PHP would be the logical choice after JS. Some parts of it
are much like JS, except done on the server level.


Neither is PHP a language restricted to server-side use, nor is JS
restricted to client-side use. Please search the archives before
you post.
This is one reason why many say you should always use a closing ";" when
writing JS, since this saves one possible easy mistake when you shift
languages.


Which is the worst reason I have ever heard of.
PointedEars
Mar 11 '06 #4

"Noone Here" <e3**********@82190402j.com> wrote in message
news:44***********************@orc.meganetnews.com ...
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?

Also, from scratch if one has only a reasonable knowledge of HTML, and
if the person wa sprepared to work at learning JS for say a dozen hours
per week, how long would the average person take to learn JS to a
moderate degree?

Finally, can anyone please suggest some good books for beginner's
learning JS (or links, etc). I have always used books before, expect
there are so many to chose from and opinions are welcomed.

Thanks.


You'll also need to learn CSS to complete your client-side ensemble.
I'm not going to mention that there's a tutorial on html, javascript, and
css at www.w3schools.com because some folks found an error on the site.
Mar 11 '06 #5
Hal Rosser said the following on 3/11/2006 5:51 PM:
"Noone Here" <e3**********@82190402j.com> wrote in message
news:44***********************@orc.meganetnews.com ...
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?

Also, from scratch if one has only a reasonable knowledge of HTML, and
if the person wa sprepared to work at learning JS for say a dozen hours
per week, how long would the average person take to learn JS to a
moderate degree?

Finally, can anyone please suggest some good books for beginner's
learning JS (or links, etc). I have always used books before, expect
there are so many to chose from and opinions are welcomed.

Thanks.


You'll also need to learn CSS to complete your client-side ensemble.
I'm not going to mention that there's a tutorial on html, javascript, and
css at www.w3schools.com because some folks found an error on the site.


There's not "an error" on that site, there are a ton of errors and
incomplete/incorrect data on that site.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 12 '06 #6

cwdjrxyz wrote:
Noone Here wrote:
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?


I think that PHP would be the logical choice after JS. Some parts of it
are much like JS, except done on the server level. It has the advantage
that it can not be turned off by a viewing browser, as can JS. In fact
some aspects of PHP code are so much like JS that it is easy to make
little mistakes because you use what is correct for JS rather than PHP
unless you pay careful attention. For example, a JS statement does not
have to have a closing ";" if it ends on a line. However a PHP
statement must always have a closing ";". This is one reason why many
say you should always use a closing ";" when writing JS, since this
saves one possible easy mistake when you shift languages.


I should point out, as nearly everyone knows, that many languages can
be used on both PCs and servers. In fact you likely have programs on
your PC that use C++, Java, and likely other higher level languages.
Likewise the same can be true on a server which is just a special
purpose computer. If you are writing programs to be used on PCs, say an
elaborate media processing program, then the next logical language to
learn might well be C++. If you are interested mainly in things on the
web, then, as I suggested, server side PHP is very useful for many. Or
Java might be useful on the server. Again you could use Java or PHP on
programs on a PC if there is an advantage in doing so. However, in the
case of PHP, many find it most useful on the server. Languages come and
go. I am surprised that languages such as html and JS used most often
for web applications have changed as little as they have. I have used
more now dead or depreciated languages than I can recall - Fortran 4
H-level, Algo(a subset of Algol), a microprocessor octal machine
language used for an automated instrument, etc.

In short, the next language you should learn should consider what you
want to do. Actually web pages are only a minor part of the huge field
of computing, and it is easy to forget that many PCs and
state-of-the-art computers are never connected to the web or a network.
Of course it is likely that most posting to this group have at least
some interest in writing code for web pages.

Mar 12 '06 #7
cwdjrxyz wrote:
I should point out, as nearly everyone knows, that many languages can
be used on both PCs and servers.
<nitpick> My server is a PC. </nitpick>
[...] Languages come and go. I am surprised that languages such as html
and JS used most often for web applications have changed as little as
they have.


You have overslept the last 10 years, and you are dreaming right now?
PointedEars
Mar 12 '06 #8
On 2006-03-11, Noone Here <e3**********@82190402j.com> wrote:
If one knows JavaScript to a moderate to good level, which other
languages are similar to JS so one could easily read the code and use
the language (obviously after understanding any different terminology)?
The syntax is similar to Java and C. The concepts are more similar to
what you find in languages like Python or Perl-- dynamic typing, lists
and dictionaries built into the language. The way you do inheritance
with prototyping is related to Self, but actually in JS in my experience
you just use prototypes to implement class-based inheritance and don't
actually do the kind of programming you might do in Self, so really it's
just like using any class-based language.

If you knew JS to a moderate to good level it shouldn't take too long to
learn Python, which would be my personal recommendation as the easiest
to learn and also the most useful.
Also, from scratch if one has only a reasonable knowledge of HTML, and
if the person wa sprepared to work at learning JS for say a dozen hours
per week, how long would the average person take to learn JS to a
moderate degree?


If they were already quite experienced at programming in one or two
other languages, probably only a few weeks. But it depends on the
person; some people learn slower, but that doesn't mean they might not
be better at something once they have learnt it.
Mar 12 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
2
by: GoofyIdiot | last post by:
Hi, I've been reading about three layered serivces applications (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ArcThreeLayeredSvcsApp.asp) Now wonder how...
4
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
3
by: Jim H | last post by:
If there is a site someone can point me to that answers such basic questions, rather than taking up support's time posting answers, please let me know. I've developed C# .NET, unmanaged C++, and...
2
by: Fay Yocum | last post by:
BEWARE beginner questions!! I have some experience in Access but never as much as I want or need. I have decided to get in on VB.Net. I would only rate myself in Access as a...
0
by: software2006 | last post by:
ASP And Visual Basic Interview questions and answers I have listed over 100 ASP and Visual Basic interview questions and answers in my website...
4
seshu
by: seshu | last post by:
Hi everybody Presently Iam write three select statements with diff where and limt conditions but the select stmt in them is same insted of that can i write only one direct stmt...
30
by: Amar Kumar Dubedy | last post by:
How to find the greatest of three numbers without using any comparison operator or ternary operator??
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
4
omerbutt
by: omerbutt | last post by:
hi there, i am making a community site where i am making the member search area, the information from the table is coming from 2 tables already rage_members and rage_members_profile, and i am using...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.