Tweets

You blocked @code_barbarian

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @code_barbarian

  1. Pinned Tweet
    28 May 2020
    Undo
  2. Retweeted
    15 Jun 2020

    Mastering Mongoose teaches 3 different design patterns for instantiating models. The first is called the "export model pattern." It's simple and easy to work with, but comes with limitations. Get the eBook and learn more: 

    Undo
  3. Retweeted
    20 May 2019

    The maxTimeMS option in MongoDB is tragically underused. It can prevent one slow query from slowing down other, faster queries

    Undo
  4. 2 hours ago

    Most realistic coding interview question: Here's a function written 10 years ago. Makes heavy use of a dead framework. No documentation. Original author left years ago. Find and fix the bug.

    Undo
  5. Retweeted
    3 hours ago

    Pro tip: you can avoid a bad version of a package by using `<` in semver

    Undo
  6. Retweeted
    8 Jul 2020

    5 Reasons why Vue is better than React: Bonus 6th reason: Facebook is not involved with Vue

    Undo
  7. Retweeted
    31 Dec 2018

    In the past, my best New Year's resolutions were processes, not goals: ❌ Learn to code ✅ Code 1 hour/day ❌ Lose 10 pounds ✅ Do 10 minutes on the bike every day ❌ Write a book ✅ Write 3 hours every Friday Focus on habits, not outcomes.

    Undo
  8. Retweeted
    2 Jun 2020

    My new favorite bit of JavaScript syntactic sugar: `await` is a unary operator, so you can use `await` to call an async IIFE without the ugly parentheses. Learn more: 

    Undo
  9. Jan 12

    2022 goal: read Twitter less, post more Not that I don't get value from reading Twitter, I just have a tendency to listen passively without making myself heard "Two ears and one mouth so we can listen twice as much as we speak" cuts both ways

    Undo
  10. Retweeted
    Jan 12

    RegExp pro tip: `^` at the start of a set negates the set. For example, below is how you can test whether a string does NOT start with 'A'.

    Undo
  11. Retweeted
    20 Nov 2019

    When should you use route parameters vs query parameters in Express? 

    Undo
  12. Retweeted
    29 Jun 2019

    To master modern JavaScript, you need: - Fundamentals - Webpack - Node.js - Vue - Express - Mocha - Mongoose - Axios Conveniently, those are the categories for

    Undo
  13. Retweeted
    Jan 11

    TypeScript expectation: "JavaScript that scales! Your code will never break again!" TypeScript reality: compiler is just one more point of failure

    Show this thread
    Undo
  14. Retweeted
    27 Jul 2019

    Async functions vs async arrow functions vs async generator functions - which ones return a promise? 

    Undo
  15. Jan 11

    Check out my weekly newsletter on for more JavaScript content!

    Show this thread
    Undo
  16. Retweeted
    9 Jun 2019

    My current dev laptop is an Asus VivoBook running Xubuntu. 15 inch screen, 32 GB RAM, weighs 3.7lb, costs $1300. Makes me wonder why devs still bother buying macbooks - you pay twice as much for the same specs and worse UI/UX.

    Undo
  17. Jan 11

    TypeScript expectation: "JavaScript that scales! Your code will never break again!" TypeScript reality: compiler is just one more point of failure

    Show this thread
    Undo
  18. Retweeted
    Jan 11

    Sinon stubs have a `getCall()` method that returns information about a particular time the stub was called, including `args` and `returnValue`. Learn more 👉

    Show this thread
    Undo
  19. Retweeted
    5 Jun 2020
    Undo
  20. Retweeted
    23 Jul 2018

    My blog now has a handy list of all my articles on async/await, check it out:

    Undo
  21. Retweeted
    Jan 10

    Tech content is broken because we have way too many "thought pieces" 🤢 and "build an app with framework X build tool Y bloatware Z" tutorials 😴 Check out ' most popular tutorials. By far the most popular is how to concatenate strings

    Undo

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·