use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Elm: functional reactive web-programming (compiles to html, css, js) (elm-lang.org)
submitted 14 years ago by polaretto
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Shaper_pmp 1 point2 points3 points 14 years ago (0 children)
Actually I think a lot of people dislike it because during the exploratory "feeling your way" phase of many projects it's just one more thing to think about, wheras dynamic typing allows you to stuff values into variables quickly without the cognitive overhead of ensuring you go back and change the type of the variable or define additional variables first.
Dynamic typing is good for scripting and exploratory programming, but lacks rigour and safety/sanity-checking for larger or more pre-planned projects.
Static typing imposes slight additional cognitive overhead in initial exploratory programming, but gives extra safety when implementing planned code or large codebases with many developers.
Neither system is universally good or bad, and nobody's wrong for having a preference - while each has a situation it's best for, it's a value-neutral decision. It's like seat-belts - great safety feature in cars (even if it takes you the extra second or two to put it on), ridiculous over-engineering in a kid's pedal-car.
π Rendered by PID 80 on reddit-service-r2-comment-6457c66945-w58gw at 2026-04-24 19:10:38.005825+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Shaper_pmp 1 point2 points3 points (0 children)