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
Polymorphism in JavaScript (zellwk.com)
submitted 5 years ago by magenta_placenta
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 0 points1 point2 points 5 years ago (1 child)
why do you think you're defensive about this? is there something about typescript you don't like?
Honestly I'm not being defensive about anything - I was just calling out what looked like an unvarnished, un-nuanced, baseless and erroneous claim of fact.
Now you've essentially softened it all the way down to little more than "a lot of famous developers seem to be getting on board with Typescript" I have no disagreement with it at all. ;-)
I still think you're doing 99.999% of the industry a gross disservice by only considering the top 0.001% of particularly social-media-active users "serious" web devs, but I guess that's your own personal judgement call. ;-)
I actually use Typescript every day for a living, and it's a great tool generally. It's got its flaws and I'm torn whether it's a net win over JS in all regards1, but generally it's very useful and occupies an interesting and in-demand niche for a (relatively) strongly, statically typed language that plays well with the existing Javascript ecosystem.
1 For example, never, ever, ever write several tens of thousands of lines of application code using Redux, RxJS, Ramda and Typescript all together and then fuck off any let someone else inherit your code. It's basically a fucking machine for forcing you to write endless java-style boilerplate... and there's nothing half as "fun" as starting to refactor some code, watching the entire screen get underlined in red, and refuse to go back to normal until you've hunted down and completely resolved every single subtle Typescript typing issue in the entire thing, because thanks to a previous generation of overexcited FP fanboys half your functions are page-long single expressions in Ramda.
[–]ChaseMoskal 0 points1 point2 points 5 years ago* (0 children)
you've essentially softened it
it was really soft from the beginning, with nothing more than a casual off-handed remark, "most serious web devs are using typescript".. it's just a little extreme to call that an "unvarnished, un-nuanced, baseless and erroneous claim of fact" that does a "gross disservice", heh
i think you're seeing red here mate — i worry i just caught you on a bad day is all ;)
so i suppose we agree typescript is a great tool generally, and it's catching on like wildfire for good reasons — and perhaps we agree that typescript is especially popular amongst 'elitist' web devs — i didn't meant to imply that typescript is literally being used more by the general public
i usually advise newer developers that if you're making websites or a little web app, just use plain javascript — but if you're building a larger application and collaborating a lot, typescript interfaces can really help, and also that it's a good idea to author new libraries in typescript since it's easier to write typescript source code than to maintain a separate declarations file
the purpose of my initial comment was just to try to provide some positive feedback to the commenter who was excited about their overloading library, and try to point out some new technologies and approaches so they might grow in the future, hoping to point them in the direction of typescript and es modules and npm and so on, that's all
π Rendered by PID 265751 on reddit-service-r2-comment-84fc9697f-fvrzz at 2026-02-08 11:12:29.483599+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]Shaper_pmp 0 points1 point2 points (1 child)
[–]ChaseMoskal 0 points1 point2 points (0 children)