SEO Forums: Your seo discussion forum  
Welcome, Unregistered.
You last visited: Today at 11:24 PM
Tags:



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-2008, 04:54 AM
Oltmans
Guest
 
Posts: n/a
Default Need some JavaScript puzzles



Hi guys,
I'm learning JavaScript and I need some puzzles that can make me a
better JavaScript programmer. I mean I'm looking out for programming
puzzles (e.g. Project Euler or TopCoder) but I'm looking out for
language specific puzzles that can make me a top-notch JavaScript
programmer. a) Any puzzles you can recommend? b) Any programs that you
can suggest that can make me learn JavaScript internals in greatest
depth.

Please recommend anything. I know some very best programmers lurk
around here so any help will be appreciated. Moreover, to people
who've been using JavaScript for sometime, please recommend programs
that you wish you had done earlier to understand internals in a better
way. Thanks in advance.
Reply With Quote


  #2 (permalink)  
Old 09-25-2008, 04:54 AM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

Oltmans wrote:
> I'm learning JavaScript and I need some puzzles that can make me a better
> JavaScript programmer. I mean I'm looking out for programming puzzles
> (e.g. Project Euler or TopCoder) but I'm looking out for language
> specific puzzles that can make me a top-notch JavaScript programmer. a)
> Any puzzles you can recommend?


You will not become what you aspire to be by solving trivial puzzles. Find
a *real-world problem* that you want to solve. Try to solve it using an
ECMAScript implementation like JavaScript. There is no better exercise,
even if the scripted solution turns out not to be the best approach to solve
that particular problem.

> b) Any programs that you can suggest that can make me learn JavaScript
> internals in greatest depth.


Programs?

> Please recommend anything. I know some very best programmers lurk around
> here so any help will be appreciated.


I do not think they just *lurk* *here*.

> Moreover, to people who've been using JavaScript for sometime, please
> recommend programs that you wish you had done earlier to understand
> internals in a better way. Thanks in advance.


I can recommend Mozilla Thunderbird to subscribe to, read, and post to
comp.lang.javascript using your real name.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7@news.demon.co.uk>
Reply With Quote


  #3 (permalink)  
Old 09-25-2008, 04:54 AM
Oltmans
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles



> You will not become what you aspire to be by solving trivial puzzles. *Find
> a *real-world problem* that you want to solve. *Try to solve it using an
> ECMAScript implementation like JavaScript. *There is no better exercise,
> even if the scripted solution turns out not to be the best approach to solve
> that particular problem.


Point taken. On a serious note, can you recommend some projects that I
should be working on in my spare time? Any ideas that you have. Thanks
in advance.
Reply With Quote


  #4 (permalink)  
Old 09-25-2008, 04:54 AM
Steve Swift
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

Oltmans wrote:
> Please recommend anything. I know some very best programmers lurk
> around here so any help will be appreciated. Moreover, to people
> who've been using JavaScript for sometime, please recommend programs
> that you wish you had done earlier to understand internals in a better
> way. Thanks in advance.


Well, one recommendation would be to lurk around here. You'll get a
never-ending supply of "why doesn't this work?" questions. Since you'll
be facing some of these (of your own making), skill in working out why
something doesn't work can be quite handy. I probably spend more time on
the one thing that doesn't work than I do on the few things coded by me
that do work.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Reply With Quote


  #5 (permalink)  
Old 09-25-2008, 04:54 AM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

Oltmans wrote:
>> You will not become what you aspire to be by solving trivial puzzles. Find
>> a *real-world problem* that you want to solve. Try to solve it using an
>> ECMAScript implementation like JavaScript. There is no better exercise,
>> even if the scripted solution turns out not to be the best approach to solve
>> that particular problem.

>
> Point taken. On a serious note, can you recommend some projects that I
> should be working on in my spare time? Any ideas that you have. Thanks
> in advance.


There are several open-source projects you could generally contribute to,
however I am afraid that without more-than-pedestrian knowledge you could
neither appreciate your participation in those projects as you would like
to, nor would it be likely that you could make a considerable contribution
to them.

IMHO, programming languages can be learned best like natural languages: by
using them in everyday life. Therefore, I (seriously) suggested you try to
use scripting to solve *your* problems first, those which bug *you* the
most. Start with the ones that look simple on the outset. Find them to be
more complex than you thought. Do not let yourself be discouraged, and take
your time to solve them eventually. Then use the experience gained to solve
even more complex problems.

When (not: if) you get stuck in the process, read *again* everything about
the topic that you can get your hands on (electronic material is cheapest
and readily available, but not always best; books are more expensive and
tend to be bad). Read it again. What is most important: Do not fall for
self-proclaimed gurus; compare your sources, verify what they are saying.
Look into the message, not at the messenger. If anything still remains
unclear, ask smart questions[1] about it.

This is how I started learning the languages a decade ago and it is still
serving me well.


HTH

PointedEars

P.S.
Please shorten, but do not remove attribution lines for quotations you leave in.
___________
[1] <http://catb.org/~esr/faqs/smart-questions.html>
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Reply With Quote


  #6 (permalink)  
Old 09-25-2008, 04:54 AM
Hal Rosser
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles


"Oltmans" <rolf.oltmans@gmail.com> wrote in message
news:8c661acb-a57c-4b45-ba72-b79e33d7fbc6@l64g2000hse.googlegroups.com...
> Hi guys,
> I'm learning JavaScript and I need some puzzles that can make me a
> better JavaScript programmer. I mean I'm looking out for programming
> puzzles (e.g. Project Euler or TopCoder) but I'm looking out for
> language specific puzzles that can make me a top-notch JavaScript
> programmer. a) Any puzzles you can recommend? b) Any programs that you
> can suggest that can make me learn JavaScript internals in greatest
> depth.
>
> Please recommend anything. I know some very best programmers lurk
> around here so any help will be appreciated. Moreover, to people
> who've been using JavaScript for sometime, please recommend programs
> that you wish you had done earlier to understand internals in a better
> way. Thanks in advance.


OK -
Create a Bingo Game
or a Checkers game
or a Calculator like the windows accessories calculator
or a number-to-words (like writing a check) program without getting help
or all the above.
or if you like recursion, look at the "towers of Hanoi" puzzle.(google it)


Reply With Quote


  #7 (permalink)  
Old 09-25-2008, 04:54 AM
dhtml
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

Oltmans wrote:
> Hi guys,
> I'm learning JavaScript and I need some puzzles that can make me a
> better JavaScript programmer. I mean I'm looking out for programming
> puzzles (e.g. Project Euler or TopCoder) but I'm looking out for
> language specific puzzles that can make me a top-notch JavaScript
> programmer. a) Any puzzles you can recommend? b) Any programs that you
> can suggest that can make me learn JavaScript internals in greatest
> depth.
>
> Please recommend anything. I know some very best programmers lurk



Only the best lurkers here!
O_o
:-D

> around here so any help will be appreciated. Moreover, to people
> who've been using JavaScript for sometime, please recommend programs
> that you wish you had done earlier to understand internals in a better
> way. Thanks in advance.



1. write a function return the binary representation of a given number
in "ON" and "OFF". For example, if the input is 47 (101111 in binary),
it should return "ON OFF ON ON ON ON".
Reply With Quote


  #8 (permalink)  
Old 09-25-2008, 04:55 AM
Jorge
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

On Sep 24, 3:14*am, dhtml <dhtmlkitc...@gmail.com> wrote:
>
> 1. write a function return the binary representation of a given number
> in "ON" and "OFF". *For example, if the input is 47 (101111 in binary),
> it should return "ON OFF ON ON ON ON".


http://preview.tinyurl.com/3unmha

--
Jorge.
Reply With Quote


  #9 (permalink)  
Old 09-25-2008, 04:55 AM
Jorge
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

On Sep 24, 3:14*am, dhtml <dhtmlkitc...@gmail.com> wrote:
>
> 1. write a function return the binary representation of a given number
> in "ON" and "OFF". *For example, if the input is 47 (101111 in binary),
> it should return "ON OFF ON ON ON ON".


[x] done: http://preview.tinyurl.com/3unmha

--
Jorge.
Reply With Quote


  #10 (permalink)  
Old 09-25-2008, 04:55 AM
Dr J R Stockton
Guest
 
Posts: n/a
Default Re: Need some JavaScript puzzles

On Sep 23, 9:01*pm, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
> Oltmans wrote:
> >> You will not become what you aspire to be by solving trivial puzzles. *Find
> >> a *real-world problem* that you want to solve.


NO. Real-world problems are generally either trivial or complex, and
neither is appropriate for practice. OP, choose instead problems
which, at your current state of knowledge, are on the verge of
difficulty. When you approach the ability to do a real-world non-
trivial problem that you want to solve, set it aside; the risks of
including someting bad and not realising it or not bothering to fix it
are too great. Instead, choose a problem of sufficient fifficulty
which you do not need to solve, so that you can throw away the
solution. Don't assume premature competence.

Tackle problems that you really need to solve only when you know
enough to be reasonably sure of making a good job of them.

> Please shorten, but do not remove attribution lines for quotations you leave in.


Ignore that : people give attributions for a purpose, and full
attributions are useful in various ways that Thomas Lahn does not
understand. Remember, be is not psychologically normal, as is obvious
from reading a selection of his replies. Perhaps he is the Kaiser
reincarnated; perhaps something worse.

--
(c) John Stockton, near London, UK. Posting with Google.
Mail: J.R.""""""""@physics.org or (better) via Home Page at
Web: <URL:http://www.merlyn.demon.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|
Reply With Quote


Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:24 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Great Seo Blog at SEONOTEPAD.COM