Log inSign up
Jason Turner
23.8K posts
user avatar
Jason Turner
@lefticus
Making C++ Fun, Safe, and Accessible cppbestpractices.com, github.com/lefticus, youtube.com/@cppweekly @[email protected]
Colorado, USA
emptycrate.com
Joined April 2009
679
Following
29.3K
Followers
  • Pinned
    user avatar
    Jason Turner
    @lefticus
    Jun 30, 2025
    I have 2 more C++ Best Practices workshops coming up! ► CppCon, Sept 13-14, 2025: cppcon.org/class-2025-bes… ► NDC TechTown, Sept 22-23, 2025: ndctechtown.com/workshops/c-be… See you there!
    14K
  • user avatar
    Jason Turner
    @lefticus
    Jan 12, 2025
    What is some piece of Computer Science or programming knowledge that *you* think is "core" but not enough people seem to know?
    1.1M
  • user avatar
    Jason Turner
    @lefticus
    Apr 23, 2025
    git commit -m "attempt to fix CI" ... git commit -m "attempt to fix CI" ... git commit -m "attempt to fix CI" ... git commit -m "attempt to fix CI" ... git commit -m "attempt to fix CI"
    180K
  • user avatar
    Jason Turner
    @lefticus
    Aug 14, 2024
    Some people seem to be incapable of seeing the commentary on the wastefulness of RAM and CPU resources in modern software development that the rest of us are trying to make.
    181K
  • user avatar
    Jason Turner
    @lefticus
    May 4, 2024
    Me: Do you have long compile times? Students: yeah Me: how long is long Students: a full clean build can be 5 minutes! Me: ok... Moving on to the next topic...
    245K
  • user avatar
    Jason Turner
    @lefticus
    Jul 12, 2024
    Please don't make your programming language so that it parses floats differently depending on the locale of your user's computer.
    user avatar
    Fear the Phantom (game in bio)
    @Phantom_TheGame
    Jul 10, 2024
    REMINDER When you parse a float, it takes into account the language on the computer you're using. Some cultures use a period for decimal points, while some use commas. More than once have I gotten game breaking bugs due to forgetting about this.
    80K
  • user avatar
    Jason Turner
    @lefticus
    Jul 24, 2022
    Theory: every aspect of modern technology hinges on C++ Evidence: JavaScript engines, browsers, Windows, KDE, JVM all written in C++. Python is C, but all major libraries are written in C++. GTK on Linux? Your C compiler is written in C++ Do you have counter examples?
  • user avatar
    Jason Turner
    @lefticus
    Oct 9, 2022
    Hot take: if you need multiple large monitors to program with, you should consider writing smaller/simpler functions.
  • user avatar
    Jason Turner
    @lefticus
    Dec 2, 2021
    To my fellow C++ programmers: {} : "braces" [] : "brackets" () : "parenthesis" <> : "angle brackets" Remember, it's "braced-initialization" *not* "curly bracket initialization"
  • user avatar
    Jason Turner
    @lefticus
    Jun 4, 2022
    Remember: std::move doesn't move std::forward doesn't forward And std::function isn't a function
  • user avatar
    Jason Turner
    @lefticus
    Nov 23, 2023
    Dall-E *really* doesn't know how to do this kind of thing:
    124K
  • user avatar
    Jason Turner
    @lefticus
    Sep 24, 2020
    I just finished my C++ Best Practices book - 45ish Simple Rules with Specific Action Items for Better C++ It's meant to be quick and actionable. leanpub.com/cppbestpractic… To celebrate here's a coupon for the first 100 buyers only, get it for only $7.99! leanpub.com/cppbestpractic…
  • user avatar
    Jason Turner
    @lefticus
    Aug 30, 2022
    I've decided to give away over 130 HOURS of C++ material. FOR FREE! Check it out! 👀
    youtube.com
    C++ Weekly With Jason Turner
    Making C++ Fun and Accessible.
  • user avatar
    Jason Turner
    @lefticus
    Mar 25, 2021
    This is going to sound a bit trite, perhaps, but about 95% of the performance problems I fix in code come down to simply "don't do more work than you have to." It's almost never some fancy new algorithm that's needed, it's more like "stop re-parsing the same string 1600 times."

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up