Dear folks
I'm looking for good sites/material for this topic:
Introduction to programming, using Javascript.
So, not introduction to programming *in" Javascript. Well, I guess this would be in a way included anyway, but I would like to use
Javascript/HTML/Browser as programming environment for pupils who have no idea of programming so far.
Any tip would be much appreciated.
Thanks
Martin 29 2401
Martin Schmied a écrit :
Dear folks
I would like to use
Javascript/HTML/Browser as programming environment for pupils who have
no idea of programming so far.
In french :
Général :
<http://www.salemioche. net/pasapas.php>
HTML :
<http://magali.contensi n.free.fr/html/SYNTAXE_HTML/cours_html.html >
<http://pagesperso-orange.fr/chatinais/courhtml/somrhtml.htm>
JavaScript :
<http://pagesperso-orange.fr/chatinais/coursjs/somrjs.htm>
<http://www.salemioche. net/javascript.php>
<http://www.cmi.univ-mrs.fr/~contensi/CNFPT/index.php>
Mais tout n'est pas "uptodate" ....
--
sm
Martin Schmied said the following on 1/12/2008 5:24 AM:
Dear folks
I'm looking for good sites/material for this topic:
Introduction to programming, using Javascript.
There have to be at least 100 languages better suited for what you want.
So, not introduction to programming *in" Javascript. Well, I guess this
would be in a way included anyway, but I would like to use
Javascript/HTML/Browser as programming environment for pupils who have
no idea of programming so far.
BASIC. Simplest language to teach concepts with.
Any tip would be much appreciated.
Don't try to use JS to teach programming principles. The language is so
screwed up that it makes it a difficult language to try to teach with.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
On Jan 12, 10:05 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
Don't try to use JS to teach programming principles. The language is so
screwed up that it makes it a difficult language to try to teach with.
?!? That is the coolest statement I have heard so far about
JavaScript. I do remember myself back in 1997 making working scripts
in a couple of days after I started to learn it. So did millions of
other users ever since 1995, so will millions starting this year and
after that. I'm ready to agree that my quick progress was caused by my
absolutely outstanding IQ level :-) - so is it true for all others?
On 1/12/2008 5:24 AM, Martin Schmied wrote:
Dear folks
I'm looking for good sites/material for this topic:
Introduction to programming, using Javascript.
[snip]
There is no single best programming language, only the best programming
language for a particular task. If you want to learn strong object
oriented, very structured programming first, I would suggest C or C++.
It is the one of the most unforgiving languages ever written, and it
will make sure that the student using it does not do silly things.
One those foundations are in place, there is nothing hard about
programming, it's really the mindset and the concepts you need.
For something a little easier, but still very structured, Java is likely
the way to go.
I'll caveat that by saying that if your goal in programming is web
development inside the browser, then it makes sense to learn javascript.
~A!
--
anthony at my pet programmer dot com
On Sat, 12 Jan 2008 11:24:27 +0100, in comp.lang.javas cript "Martin
Schmied" <ma****@jogging .ch>
<47************ *********@news. sunrise.chwrote :
>| Dear folks | | I'm looking for good sites/material for this topic: | | Introduction to programming, using Javascript. | | So, not introduction to programming *in" Javascript. Well, I guess this | would be in a way included anyway, but I would like to use | Javascript/HTML/Browser as programming environment for pupils who have | no idea of programming so far. | | Any tip would be much appreciated.
Are you teaching a web development course?
If not then Javascript is the wrong language to teach. The student
needs a good working knowledge of HTML and CSS for this to be of any
benefit.
They will also need to use additional applications to help them write
and debug their code (Notepad++, Firefox with Web dev and Firebug
plugins).
I do teach a web development course with students who have had no
programming experience. I can tell you that it is bloody hard work
trying to get through so of the concepts.
-- ------------------------------------------------------------- jn******@yourpa ntsyahoo.com.au : Remove your pants to reply
-- -------------------------------------------------------------
Thomas 'PointedEars' Lahn wrote:
Martin Gregorie wrote:
>My tip would be: don't use Javascript to teach programming.
There's no compiler, so nothing to highlight errors in the source code.
Wrong, there is a compiler. There is a byte-code compiler for the server,
and there are just-in-time compilers in HTML user agents (that may or may
not create byte code that is later interpreted by a VM). Errors in the
source code are displayed on the command line, in UA's error consoles and
in script debuggers.
Not according to the Rhino book (5th edition), anyway. That mentions a
couple of interpreters, of which one, Rhino, is part of Java 6 and can
be used as a compiler if its embedded in a Java wrapper to capture and
save its output.
>In consequence any typing or syntax errors will merely and silently not work.
Wrong.
Considering that I saw exactly this behavior last night and so am
talking from recent experience, I disagree.
FYI: Opera 9.25, mistyped variable names, nothing in the error console.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
VK said the following on 1/12/2008 3:02 PM:
On Jan 12, 10:05 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
>Don't try to use JS to teach programming principles. The language is so screwed up that it makes it a difficult language to try to teach with.
?!? That is the coolest statement I have heard so far about
JavaScript. I do remember myself back in 1997 making working scripts
in a couple of days after I started to learn it.
After some of the scripts you have posted here in the last 2-3 years,
maybe you should have stopped after a couple of days.
So did millions of other users ever since 1995, so will millions starting
this year and after that.
No, what they did (and you included) was to write a half decent script
that worked where you tested it.
I'm ready to agree that my quick progress was caused by my
absolutely outstanding IQ level :-) - so is it true for all others?
Your IQ level ranges around my shoe size. And I don't have a very big foot.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
VK said the following on 1/12/2008 3:36 PM:
On Jan 12, 1:24 pm, "Martin Schmied" <mar...@jogging .chwrote:
>Dear folks
I'm looking for good sites/material for this topic:
Introduction to programming, using Javascript.
So, not introduction to programming *in" Javascript. Well, I guess this would be in a way included anyway, but I would like to use Javascript/HTML/Browser as programming environment for pupils who have no idea of programming so far.
Any tip would be much appreciated.
Well, just to make your "feet wet" right away, you may try this
minimalistic page:
And then trash it.
For a total beginner http://www.w3schools.com/js/default.asp may be a
readable resource. Other readers may have their own suggestions.
Considering that half of what is on that site is unmitigated garbage
then it isn't a good resource for anybody other than someone that wants
to see how *not* to do things.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Martin Gregorie wrote:
Thomas 'PointedEars' Lahn wrote:
>Martin Gregorie wrote:
>>My tip would be: don't use Javascript to teach programming.
There's no compiler, so nothing to highlight errors in the source code.
Wrong, there is a compiler. There is a byte-code compiler for the server, and there are just-in-time compilers in HTML user agents (that may or may not create byte code that is later interpreted by a VM). Errors in the source code are displayed on the command line, in UA's error consoles and in script debuggers.
Not according to the Rhino book (5th edition), anyway. That mentions a
couple of interpreters, of which one, Rhino, is part of Java 6 and can
be used as a compiler if its embedded in a Java wrapper to capture and
save its output.
Rhino is merely the Java implementation of the JavaScript script engine,
SpiderMonkey, which also emphasizes that JavaScript and Java are *different*
languages.
My sincere suggestion to you and any other beginner would be to not to let
your J(ava)Script/ECMAScript knowledge be based on any book. There are a
number of J(ava)Script/ECMAScript- and DOM-related books out there and so
far none qualifies as being a reliable language or API reference. The FAQ
only recommends Flanagan's "JavaScript : The Definitive Guide (4th ed.)" as
being the least bad book about the topic. http://developer.mozilla.org/en/docs/Rhino
>>In consequence any typing or syntax errors will merely and silently not work.
Wrong.
Considering that I saw exactly this behavior last night and so am
talking from recent experience, I disagree.
FYI: Opera 9.25, mistyped variable names, nothing in the error console.
You have made a general statement about "typing or syntax errors" in JS/ES
not being displayed, which is wrong. Syntax errors throw a SyntaxError
exception in implementations of ECMAScript Ed. 3, such as JavaScript 1.5+
and JScript 5.6, before the code is even executed, which will cause HTML
user agents or extensions for them (cf. Firebug) to display them in the
error console. Mistyped variable names will result in a ReferenceError
runtime error on read access, that is reported as well. Only if the
variable name is mistyped on write access that results in the creation of a
property of an object in the scope chain, which will therefore go without an
error message.
Please read http://developer.mozilla.org/en/docs..._to_JavaScript pp.
before you make further bold statements about a group of programming
languages you obviously don't know about.
PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.js:16 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Darren Dale |
last post by:
Hi,
I would like to learn more about object oriented concepts, like design
and techniques. I have experience with Matlab and Python, a little with
C#, and almost none with C++. Could I get suggestions for some good
books? C++ is not an obstacle, but Python based examples would be
easier.
Thanks,
Darren
|
by: Charlene Russ |
last post by:
Learn on-line at your own in a user-centered format with plenty of
interaction and personal attention.
This is a basic level coursed designed to introduce the novice to
intermediate computer user to the JavaScript language, and focuses on
creating user interactivity on personal websites. This Object Oriented
Language is known for creating a high level of interactivity with minimal
coding, and is fairly simple to learn.
We will begin...
|
by: Xiaoshen Li |
last post by:
Dear All,
I am relatively new to C(But I have computer science background and know
some other programming languages). I am wondering if anyboby can
recommend me some C books or websites. I prefer the books with code that
can be downloaded from websites. (I like to read those codes and play
with it. I found it is a fast way to pick up a language, without going
through lengthy introduction about variable types, control structures,
etc,...
|
by: Ralathor |
last post by:
Hello everyone.
I just wanted to introduce myself, and maby get a few of you...
Well, anyway...
I am pretty new to programming...
At first i looked at the "python" language for a couple of weeks, but
decided to try C or C++...
|
by: Jeremy Sanders |
last post by:
Here is a brief simple introduction to Python I wrote for a computing course
for graduate astronomers. It assumes some programming experience. Although
it is not a complete guide, I believe this could be a useful document for
other groups to learn Python, so I'm making it available for others to
download, and modify for their own needs (some of the content is site
specific).
HTML version:...
| |
by: Xah Lee |
last post by:
Of Interest:
Introduction to 3D Graphics Programing
http://xahlee.org/3d/index.html
Currently, this introduction introduces you to the graphics format of
Mathematica, and two Java Applet utilities that allows you to view them
with live rotation in a web browser. Also, it includes a introductory
tutorial to POV-Ray.
|
by: JosAH |
last post by:
Greetings,
last week's tip was a bit of playtime where we've built a Sudoku solver. This
week we're going to build some complicated stuff: a compiler. Compiler
construction is a difficult branch of CS and I don't want the article(s) to be the
size of a book, so we have to keep things a bit simple.
On the other hand the entire thing must have practical use more or less so the
code to be developed must be extensible so that you can...
|
by: r035198x |
last post by:
Inheritance
We have already covered one important concept of object-oriented programming, namely encapsulation, in the previous article. These articles are not articles on object oriented programming but on Java programming but I will cover all the important aspects of object oriented programming as Java has full support for object-oriented
programming even though it is not a fully object-oriented language (in the sense that you can write...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |