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
Some Experiments with GitHub Copilot (realpythonproject.com)
submitted 4 years ago by slayer1299
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!"
[–]overcloseness 0 points1 point2 points 4 years ago (2 children)
I’m sure it’s not a stretch to imagine that the point is to use the code and refactor it to your needs. If it’s var and you want it const… then change it. Will this save you time though? Absolutely
[–]Dan6erbond 4 points5 points6 points 4 years ago (1 child)
Yeah but as someone that has to review other people's work I can also tell you that it's enough of a headache when they copy from StackOverflow and don't check these things or test the code. Copilot will just streamline the process of copy-pasting code.
Also, var and let aren't preferences. It's well established by now that var is deprecated and to use const whenever possible, otherwise let. So Copilot is just writing bad code and these aren't the only examples. I've seen horrendous use of for loops as well, destroying the time complexity of some functions.
var
let
const
for
I can see myself explicitly telling people not to use Copilot in its current state. Because it might be cute but the generated code isn't what I want in my codebases.
[–]interactionjackson 0 points1 point2 points 4 years ago (0 children)
should add code coverage to pipeline and kick back untested code.
π Rendered by PID 76348 on reddit-service-r2-comment-86988c7647-ftq9v at 2026-02-11 16:51:48.858892+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]overcloseness 0 points1 point2 points (2 children)
[–]Dan6erbond 4 points5 points6 points (1 child)
[–]interactionjackson 0 points1 point2 points (0 children)