r/javascript • • Mar 30 '20

Deno 1.0 will be released on May 13

Thumbnail
github.com
455 Upvotes

r/javascript • • Jun 13 '17

Rotating cube with separate worlds within each side

Thumbnail
codepen.io
455 Upvotes

r/javascript • • Apr 27 '16

F*** You, I Quit — Hiring Is Broken

Thumbnail
medium.com
455 Upvotes

r/javascript • • Apr 26 '19

Uppy 1.0: Your best friend in file uploading

Thumbnail
uppy.io
454 Upvotes

r/javascript • • Dec 23 '18

Neural networks in JavaScript – free 19-part course

Thumbnail
scrimba.com
454 Upvotes

r/javascript • • Feb 06 '18

Third edition of Eloquent JavaScript is out

Thumbnail
eloquentjavascript.net
454 Upvotes

r/javascript • • Dec 04 '18

Modern JavaScript Explained For Dinosaurs

Thumbnail
medium.com
452 Upvotes

r/javascript • • Jun 06 '20

I'm making a series about building a 16-bit Virtual Machine in JavaScript from scratch. This episodes all about taking an assembly AST and generating machine code

Thumbnail
youtube.com
451 Upvotes

r/javascript • • Oct 15 '20

Don't Copy Paste Into a Shell

Thumbnail briantracy.xyz
450 Upvotes

r/javascript • • Apr 08 '18

I don't like prettier

449 Upvotes

It seems like prettier is becoming very popular. https://github.com/prettier/prettier

I don't like it. I don't like the whole "rewrite from AST" approach. I prefer a formatter with a lighter touch, that fixes a my mistakes, but also trusts me.

Yes, wrap that long line. But no, don't unwrap those short lines, I did that on purpose. Or I wanted an extra new line there. Or these variables are a matrix, don't reformat them, and don't make me add an ugly comment to turn you off.

I'm starting to feel like I'm alone in this though, that there's a pro-prettier movement, but not an anti-prettier movement (or a pro some-other-tool movement).

Anyone feel the same way? What tools do you use instead, if any? How do you deal with teammates pressuring you to use prettier?


r/javascript • • Jun 26 '20

Angular 10 officially released and drops support for IE 9, 10 & Mobile

Thumbnail
themesberg.com
448 Upvotes

r/javascript • • May 11 '21

Babel.js is used by millions, so why are we running out of money?

Thumbnail
babeljs.io
447 Upvotes

r/javascript • • Jun 06 '19

Optional Chaining is now at stage 2!

Thumbnail
github.com
447 Upvotes

r/javascript • • Dec 31 '17

JS things I never knew existed

Thumbnail
air.ghost.io
446 Upvotes

r/javascript • • Apr 20 '16

Clippy.js - people love two things: failed Microsoft technologies and obscure Javascript libraries

Thumbnail
smore.com
445 Upvotes

r/javascript • • Dec 03 '13

I rebuilt all of the functionality of Reddit using the Reddit API and Backbone/Marionette/Handlebars and added some features I thought Reddit needed. Introducing RedditJS.com

Thumbnail
github.com
445 Upvotes

r/javascript • • Oct 04 '22

Axios reaches 1.0.0

Thumbnail
github.com
444 Upvotes

r/javascript • • Oct 06 '21

How to use JavaScript feature flags to deploy a feature safely [React.js example]

Thumbnail
flagsmith.com
444 Upvotes

r/javascript • • Jun 07 '17

TheresaMay.js is a simple JavaScript framework (why not) that can be quickly deployed in situations where the real Theresa May can't be bothered to show up

Thumbnail
github.com
443 Upvotes

r/javascript • • Nov 15 '16

WebAssembly ongoing logo competition is hilarious

Thumbnail
github.com
442 Upvotes

r/javascript • • Apr 24 '23

Chrome Dev Tools can now override response headers including CORS

Thumbnail
developer.chrome.com
441 Upvotes

r/javascript • • Jan 26 '23

Announcing TypeScript 5.0 Beta

Thumbnail
devblogs.microsoft.com
441 Upvotes

r/javascript • • Dec 30 '20

AskJS [AskJS] People who have been writing code professionally for 10+ years, what practices, knowledge etc do you take for granted that might be useful to newer programmers

441 Upvotes

I've been looking at the times when I had a big jump forward and it always seems to be when someone pretty knowledgeable or experienced talks about something that seems obvious to them. So let's optimize for that.

People who know their shit but don't have the time or inclination to make content etc, what "facts of life" do you think are integral to your ability to write good code. (E.g. writing pseudo-code first, thinking in patterns, TDD, etc). Or, inversely, what gets in the way? (E.g. obsessing over architecture, NIH syndrome, bad specs)

Anyone who has any wisdom borne of experience, no matter how mundane, I'd love to hear it. There's far too much "you should do this" advice online that doesn't seem to have battle-tested in the real world.

EDIT: Some great responses already, many of them boil down to KISS, YAGNI etc but it's really great to see specific examples rather than people just throwing acronyms at one another.

Here are some of the re-occurring pieces of advice

  • Test your shit (lots of recommendations for TDD)

  • Understand and document/plan your code before you write it. ("writing is thinking" /u/gitcommitshow)

  • Related: get input on your plans before you start coding

  • Write it, then refactor it: done is better than perfect, work iteratively. (or as /u/commitpushdrink says: "Make it work, make it fast, make it pretty)

  • Prioritize readability, avoid "clever" one-liners (KISS) (/u/rebby_the_nerd: If it was hard to write, it will be even harder to debug)

  • Bad/excessive abstraction is worse than imperative code (KISS)

  • Read "The Pragmatic Programmer"

  • Don't overengineer, don't optimize prematurely (KISS, YAGNI again)

  • "Comments are lies waiting to be told" - write expressive code

  • Remember to be a team player, help out, mentor etc

Thank you so much to everyone who has taken the time to comment so far. I've read every single one as I'm sure many others have. You're a good bunch :)


r/javascript • • Sep 24 '19

Exploiting Tinder to get paid features for free

Thumbnail
softwareontheroad.com
441 Upvotes