user avatar
Jason Turner
@lefticus
Colorado, USA
Joined April 2009
  • Pinned
    user avatar
    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!
  • user avatar
    What is some piece of Computer Science or programming knowledge that *you* think is "core" but not enough people seem to know?
  • user avatar
    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"
  • user avatar
    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.
  • user avatar
    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...
  • user avatar
    Please don't make your programming language so that it parses floats differently depending on the locale of your user's computer.
    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.
  • user avatar
    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
    Hot take: if you need multiple large monitors to program with, you should consider writing smaller/simpler functions.
  • user avatar
    To my fellow C++ programmers: {} : "braces" [] : "brackets" () : "parenthesis" <> : "angle brackets" Remember, it's "braced-initialization" *not* "curly bracket initialization"
  • user avatar
    Remember: std::move doesn't move std::forward doesn't forward And std::function isn't a function
  • user avatar
    Dall-E *really* doesn't know how to do this kind of thing:
  • user avatar
    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
    I've decided to give away over 130 HOURS of C++ material. FOR FREE! Check it out! 👀
  • user avatar
    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."