473,405 Members | 2,404 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,405 software developers and data experts.

Taking a class that may suck?

I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?

thanks,
James

Oct 15 '07 #1
15 1440
Brian A said the following on 10/15/2007 5:02 PM:
On Mon, 15 Oct 2007 12:31:45 -0700, ja**********@gmail.com wrote:
>I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?

thanks,
James
Firstly, let me recommend a book to you.
"DOM Scripting"
by Jeremy Keith
It is a well written book that explain things well.
It deals with best practice such as 'unobtrusive javascript'.
If you get it do go to the web site and check out any errors in the
book that you need to correct.
URL to the errata? And, is there a sample chapter or anything online
that could be reviewed without purchasing the book?
I was chatting today with someone who has just completed a computer
course. He had no idea about 'unobtrusive javascript' etc. So, not
all courses are helpful when it comes to best practice.
If you think Javascript is 'lame' check out AJAX technology. I think
you will soon change your mind about the usefulness of Javascript.
Just enter AJAX into Google and you'll find a Wikipedia an W3C schools
link, among others.
What is "lame" about javascript is the way it is attempted to be taught
in schools, not the language itself.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 15 '07 #2
ja**********@gmail.com wrote:
I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?
I think the O'Reilly book (javascript: The Definitive Guide, by
Flanagan) is pretty good. I'm not a js expert, but the book does
approach js as a programming language, rather than just showing
the student a bunch of cookbook recipes for making the browser
do tricks.
Oct 16 '07 #3
Ben Crowell wrote:
ja**********@gmail.com wrote:
>I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?

I think the O'Reilly book (javascript: The Definitive Guide, by
Flanagan) is pretty good.
It isn't. It is considered to be the best of the bad books by some (and
therefore still listed in the FAQ, although the wording there is wrong).
I strongly recommend against it.
I'm not a js expert,
So you are not exactly in a position to judge the quality of the book, are you?
but the book does approach js as a programming language,
But it provides a number of misconceptions about the language of its author,
e.g. that `[...]' would always be array syntax. There are a number of
discussions here which point out its many flaws even in the introductory
chapters.
rather than just showing the student a bunch of cookbook recipes for making
the browser do tricks.
But it is known to promote bad DOM practice.

And it does all that by being in its fifth edition already.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Oct 16 '07 #4
Thomas 'PointedEars' Lahn said the following on 10/16/2007 2:51 AM:
Ben Crowell wrote:
>ja**********@gmail.com wrote:
>>I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?
I think the O'Reilly book (javascript: The Definitive Guide, by
Flanagan) is pretty good.

It isn't. It is considered to be the best of the bad books by some (and
therefore still listed in the FAQ, although the wording there is wrong).
I strongly recommend against it.
And the FAQ wording is not wrong.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 16 '07 #5
Thomas 'PointedEars' Lahn wrote:
Ben Crowell wrote:
>ja**********@gmail.com wrote:
>>I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.

If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?
I think the O'Reilly book (javascript: The Definitive Guide, by
Flanagan) is pretty good.

It isn't. It is considered to be the best of the bad books by some (and
therefore still listed in the FAQ, although the wording there is wrong).
I strongly recommend against it.
>I'm not a js expert,

So you are not exactly in a position to judge the quality of the book, are you?
>but the book does approach js as a programming language,

But it provides a number of misconceptions about the language of its author,
e.g. that `[...]' would always be array syntax. There are a number of
discussions here which point out its many flaws even in the introductory
chapters.
>rather than just showing the student a bunch of cookbook recipes for making
the browser do tricks.

But it is known to promote bad DOM practice.

And it does all that by being in its fifth edition already.
Its a lot better than 'javascript for dummies'

At least it contains real information, even if some of it is wrong..
>
PointedEars
Oct 16 '07 #6
On Oct 15, 5:50 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
>
The best resource you will *ever* find for Javascript is the
comp.lang.javascript Usenet group.
Quite true, in my experience. I was just hacking before I encountered
this group. The consensus on javascript programming discipline
expressed by the members and by the FAQ has helped me rein in a lot of
wild code and coders.

Also, due to the lack of social skills by a few of the regulars here,
the forum is often very entertaining even when it isn't
informational ;)

Bob

Oct 16 '07 #7
Since there isn't really an agreement here, (and since some people are
more interested in bashing people than answering the original
question) I guess I will check out the FAQ.

So where is this famous FAQ section? I am reading this through Google
Groups. Looked all over and can't find it.

Oct 16 '07 #8
On Oct 15, 11:51 pm, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
Ben Crowell wrote:
jamesalle...@gmail.com wrote:
I am a college student getting ready to take a Javascript class. From
what I hear it is pretty lame and I want to learn more about
javascript than what the class offers. While I am taking the class, I
thought it would be a good time to take my studies to the next level
and learn more things about it on my own.
If you had the chance to design and teach a class on beginner & mid-
level javascript, what would you cover? What do you think is
important for people to know about coding in javascript?
I think the O'Reilly book (javascript: The Definitive Guide, by
Flanagan) is pretty good.

It isn't. It is considered to be the best of the bad books by some (and
therefore still listed in the FAQ, although the wording there is wrong).
I strongly recommend against it.
A beginner needs a book. It is a frequently asked question. The group
should make some sort of recommendation. Although it has errata and
sometimes a Java programming style, Flanagan's book is the right type
of book for a person wanting to learn JavaScript.

I'm not a js expert,

So you are not exactly in a position to judge the quality of the book, are you?
A non-javascript expert is a good judge of certain aspects of a books
worth to non-experts.

but the book does approach js as a programming language,

But it provides a number of misconceptions about the language of its author,
e.g. that `[...]' would always be array syntax. There are a number of
discussions here which point out its many flaws even in the introductory
chapters.
rather than just showing the student a bunch of cookbook recipes for making
the browser do tricks.

But it is known to promote bad DOM practice.

And it does all that by being in its fifth edition already.
If comp.lang.javascript members think that the existence of a good
book on JavaScript is important then give up the whole "I'm not his
editor" bit and email Flanagan with suggested changes. That or
comp.lang.javascript members could somehow organize and write a book
on JavaScript.

Peter

Oct 16 '07 #9
Brian A said the following on 10/16/2007 5:40 AM:
On Mon, 15 Oct 2007 15:39:13 -0700, David Mark
<snip>
>In short, throw his book in the trash. If you want to learn how to
pop up a window, read the group FAQ.
Totally agreed.
Why not write to him and challenge him on the aspects of programming
you are not happy about.
Versus him posting hear and taking the initiative himself to improve his
book?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 17 '07 #10
ja**********@gmail.com said the following on 10/16/2007 9:35 AM:
Since there isn't really an agreement here, (and since some people are
more interested in bashing people than answering the original
question) I guess I will check out the FAQ.
If you get 10 replies to your question, they will all be different. It
is what I alluded to in my first reply.
So where is this famous FAQ section?
http://jibbering.com/faq/index.html
I am reading this through Google Groups. Looked all over and can't find it.
A search of this group for the simple letters "FAQ" didn't return any
results? It does for me.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 17 '07 #11
Peter Michaux said the following on 10/16/2007 12:42 PM:

<snip>
That or comp.lang.javascript members could somehow organize
and write a book on JavaScript.
Give you 10-1 you couldn't never get the members here to even agree on a
name for the book and that would be before the introduction was written :)

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 17 '07 #12
Brian A said the following on 10/15/2007 6:21 PM:
On Mon, 15 Oct 2007 17:39:43 -0400, Randy Webb
<Hi************@aol.comwrote:
<snip>
>URL to the errata? And, is there a sample chapter or anything online
that could be reviewed without purchasing the book?

Errata and sample chapter.
http://www.friendsofed.com/book.html?isbn=1590595335

Author's site.
http://domscripting.com/

Amazon
http://tinyurl.com/2d4weg
I am not going to repeat what has already been written, suffice it to
say that I wouldn't recommend that book for anything but starter paper
to build a fire.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 17 '07 #13
Jeff North wrote:
The above could work for the intermediate programmer (a person with
some knowledge of another programming language) but not the novice.

Example: class here is a piece of code that we are going to walk
through. We've defined some global variables that will be used later
in our functions. There are 2 functions using several loop constructs
to walk through an array as well as conditional statements. Any
questions?

Yes, what is a variable
what is a function
what is a global variable
what is an array
what are these loops statements
what are these conditional statements
why is a comma used in some places and not others
why is the semicolon used in some places and not others
why do you use curly braces in some places and not others.

IOW, you are starting from a point where the novice doesn't
understand.
But you are talking about a class of novice programmers there, not a class
(or shall we say prototype? ;-)) of novice JS/ES programmers. The terms and
topics "(global) variable", "function", "array", "loop statements",
"conditional statements", operators and other punctuation in programming are
to be covered in a previous lesson that introduces the basics of
programming. These are not at all specific to ECMAScript implementations,
let alone JavaScript.

Besides, the purpose of any lesson should be to clear up remaining questions
of the students, so I don't see the problem. Unless, of course, you talk
preaching instead of teaching.
[...] Remove your pants to reply
No, I won't.
PointedEars
Oct 22 '07 #14
In comp.lang.javascript message <47**************@PointedEars.de>, Tue,
16 Oct 2007 08:51:45, Thomas 'PointedEars' Lahn <Po*********@web.de>
posted:
>
It isn't. It is considered to be the best of the bad books by some (and
therefore still listed in the FAQ, although the wording there is wrong).
I strongly recommend against it.
Then you should write and publish a book of your own, so that it may be
considered for recommendation.

With your style, it should sell nearly two copies.

You could also write an Alternative FAQ, and put it on your Web site.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt RAH Prins : c.l.p.b mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zipTimo Salmi's Turbo Pascal FAQ.
Oct 23 '07 #15
"Jeff North" <jn******@yahoo.com.auwrote:
Richard Cornford wrote:
<snip>
>>|IOW, you are starting from a point where the novice
|doesn't understand.
|
| Who said that was where I was starting from? The point of
| teaching how to interpret the specification is to facilitate
| the translation form the general concepts to the specifics.
| The general concepts have to come first, but as I said (and
| you snipped), we don't know the real starting level of these
| students.

Read the OP's initial post.
Where it says "beginner & mid-level javascript" and nothing about
programming experience in other languages.
>>| I was mainly interested in conversing the things that a
| student trying to learn javascript would need to be taught
| before the job was finished.
Richard.

Oct 27 '07 #16

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

Similar topics

4
by: lkrubner | last post by:
I apologize for my ignorance in advance. I suck at reg expressions. I wrote some template software that got quite big, yet most of the code is unneeded on any particular template, so I went with an...
20
by: Dan Vande More | last post by:
Hey list, I'm just wondering if anyone can point me in the direction of a mirror that doesn't suck. I generally don't do alot with postgres other than downloading and installing the newest...
3
by: Bob | last post by:
In C++, default access is private. In Java, default access is package. In C++, default access is ___________ ??
10
by: Ruediger Klaehn | last post by:
Sorry about the harsh language, but I have to vent my anger to somebody who actually understands what I am talking about. Complaining to my girlfriend is not going to produce any meaningful results...
93
by: Dave | last post by:
I am a VB.NET guy, recently i tried to write program using C#, having being pampered by VB.NET's IntelliSense i find that the C#'s IntelliSense is SUCK!
12
by: Elhanan | last post by:
hi.. i wanted to build a Dictionary Classs that will load my own class called letter, i understood that i implement the IEquatable interface's equles method that then the dictionary would use...
458
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers...
3
by: Jim Langston | last post by:
I really am not sure if this question belongs in this newsgroup, but not sure where else to ask it. There is someone working on a game that I tested, and it was taking >30 seconds to load. He...
13
by: DH | last post by:
Hi, I'm trying to strip the html and other useless junk from a html page.. Id like to create something like an automated text editor, where it takes the keywords from a txt file and removes them...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.