UndefinedBehav's profile picture.

UndefinedBehavior

@UndefinedBehav

Pinned

int main() {     bool peopleReading;     if (peopleReading)         std::cout << "Hello Twitter"; }


UndefinedBehavior reposted

White tech people cannot be silent in times like this #BlackLivesMatter


UndefinedBehavior reposted

The 3 types of programmers.

olafurw's tweet image. The 3 types of programmers.
olafurw's tweet image. The 3 types of programmers.
olafurw's tweet image. The 3 types of programmers.
This post is unavailable.

UndefinedBehavior reposted

I avoid macros like nothing else, so I've never encountered this. But this is so funny to see. godbolt.org/z/qy8Gr4

olafurw's tweet image. I avoid macros like nothing else, so I&apos;ve never encountered this. But this is so funny to see.

godbolt.org/z/qy8Gr4

UndefinedBehavior reposted

Hey, software lovelies. Since a long weekend is coming up soon. I have a request. What programming talk (any language, new or old) made you go "Holy shit, this is amazing!" Please post them here, please make my timeline drown in cool programming talks. (also RT is love)


UndefinedBehavior reposted

The Ultimate C++ / CMake Quick Start! youtu.be/YbgH7yat-Jo This covers everything! CMake, sanitizers, clang-tidy, @conan_io , cmake-format, clang-format, cppcheck, @doxygen, ctest, catch, {fmt}, warnings... One simple to clone and get started with C++ baseline project

lefticus's tweet card. C++ Weekly - Ep 208 - The Ultimate CMake / C++ Quick Start

youtube.com

YouTube

C++ Weekly - Ep 208 - The Ultimate CMake / C++ Quick Start


UndefinedBehavior reposted

(this worked very well last time, so let's try again) Hey Programming Twitter I'm going to be speaking to impressionable youth in a couple of weeks What is your one big advice for software design (ie, patterns, architecture, algorithms) RT's are loved

Hey, Programming Twitter! I'm going to be speaking to impressionable youth in a couple of days They are in their early years of learning. In the 20ish age range. What is your one solid advice? Language Agnostic. RT's are loved (I'm gonna quote you in the slides so be nice :)



UndefinedBehavior reposted

Item 45: Add `using namespace std` to your headers, to save your users from having to repeatedly type it. #cplusplus #cpp #affectivecpp


UndefinedBehavior reposted

Protip: If you're stuck on a coding issue, sleep on it. That way when you wake up and try to fix it and it's still broken, at least you got some sleep.


UndefinedBehavior reposted

Item 44: To improve compile times, delete all your tests once your code is fully working. #cplusplus #cpp #affectivecpp (Thanks @vzverovich / @_Yulivee_ / @stilescrisis)


- Where were you? - I was in a loop - What happened? - I was in a loop - Oh, I see - I was in a loop


UndefinedBehavior reposted

What is your favorite C++ feature? Examples with subtle undefined behaviors only?


UndefinedBehavior reposted

I'd tell you all about the time I had an awful bug from overflowing a 64bit int, but it's a long long story;


UndefinedBehavior reposted

Co-workers: “I’m gonna just refactor your code a bit” Me:

EmmaBostian's tweet image. Co-workers: “I’m gonna just refactor your code a bit”

Me:

UndefinedBehavior reposted

On teaching someone about computers. Me: "Ok so to build a 64 bit version you type x64 here" Person: "Ok makes sense" M: "And to build a 32 bit version you type x86" P: "..." M: "The name is from the old Intel 8086 processor" P: "So that was 32 bit?" M: "No, 16 bit" P: "..."


UndefinedBehavior reposted

Ну ладно, давайте откроем неиссякаемый источник безумия: (Я в процессе такие восхитительные вещи понаходил) Один лайк — один пример UB на C++!


UndefinedBehavior reposted

"Nasal daemons"


"It works on my computer"

Top 5 misspellings of your name.



UndefinedBehavior reposted

programmers tend to read essays until they getting to the first line they disagree with and then tweet about it, like a compiler


UndefinedBehavior reposted

Undefined behavior containment circle, hope this works 🕯 🕯 🕯 🕯 🕯 🕯 candle off by 🔥 🕯 one error 🔥 Ah no 🔥 🔥 🔥 🔥 🔥 Oh no oh no 🔥 🔥 🔥 🔥 🔥


Loading...

Something went wrong.


Something went wrong.