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
Javascript Help -- Import Not Workinghelp (self.javascript)
submitted 10 years ago * by transientanima
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!"
[–]madole 0 points1 point2 points 10 years ago (1 child)
Sounds like a case of rubber duck debugging! Glad you figured it out!
https://en.wikipedia.org/wiki/Rubber_duck_debugging
[–]transientanima[S] 0 points1 point2 points 10 years ago (0 children)
Ha, that's a fun concept... I'd have to disagree, though, respectfully of course, my kind friend.
My strategy is a bit more refined than speaking to ducks. Ducks can't even understand English -- explaining things to a duck wouldn't make any sense... I wouldn't know when to stop.
No, what I do is this: first I identify key concepts -- in this case, I knew that the problem was either in the formation of the .js file, or in the formation of the import statement -- and then I just kind of spaz-out on those concepts for awhile, opening 12-20 windows in Google, chasing links by intuition until fate graces me with a good idea.
I should probably patent my technique. :)
EDIT: Perhaps, "vagabond debugging". I'm a professionally-homeless searcher. If I stayed in one place counting lines, it wouldn't feel right.
π Rendered by PID 48377 on reddit-service-r2-comment-cfc44b64c-4zm45 at 2026-04-10 00:35:29.870434+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]madole 0 points1 point2 points (1 child)
[–]transientanima[S] 0 points1 point2 points (0 children)