Tweets
- Tweets, current page.
- Tweets & replies
You blocked @CppStyleOpinion
Are you sure you want to view these Tweets? Viewing Tweets won't unblock @CppStyleOpinion
-
One Alternative Bracing Sale:
#include <iostream> ;int main() { ; int three{3} ; int four{4} ; std::cout << three + four << std::endl ;}Thanks. Twitter will use this to make your timeline better. Undo -
C++ Style Opinions Retweeted
The opinions of so-called compiler warnings—which essentially take creativity away from our programmers—are ridiculous and will be ignored!
Thanks. Twitter will use this to make your timeline better. Undo -
Forget class polymorphism. Just use `std::function` properties instead of methods. Now you have instance polymorphism!
Thanks. Twitter will use this to make your timeline better. Undo -
Use tri- and digraphs for x-platform code: ??=include <iostream> int main(void)??< int??(5:> a%<1,2,3,4,5??>; return a:<0??)??/ ; %>
Thanks. Twitter will use this to make your timeline better. Undo -
When on fire or in doubt run in circles write to std::cout
Thanks. Twitter will use this to make your timeline better. Undo -
C++ Style Opinions Retweeted
The first Core Guidelines checkers are now available from Microsoft (Clang versions are in also in the works):... http://fb.me/7KeD1pZSY
Thanks. Twitter will use this to make your timeline better. Undo -
Type aliases with `using` make your code cleaner by giving long, typo-prone templated types a useful and readable name. using string = int;
Thanks. Twitter will use this to make your timeline better. Undo -
Never declare a type explicitly again. `auto` and `decltype` keep your code DRY! auto szInt{1.0}; decltype(szInt) piString;
Thanks. Twitter will use this to make your timeline better. Undo -
Use Reverse Hungarian Notation for variable naming: take the variable type, and prefix it with some random letters. ex: `int szInt`
Thanks. Twitter will use this to make your timeline better. Undo -
The only thing I understand about expression SFINAE is that
@visualc is dead to me until they fix it.Thanks. Twitter will use this to make your timeline better. Undo -
Thanks. Twitter will use this to make your timeline better. Undo
-
Why are you reading this? It's Thanksgiving
! Don't you have a #rustlang side-project to work on?Thanks. Twitter will use this to make your timeline better. Undo -
SDKs that want to offer robust ABIs use the PIMPL idiom. _Really_ robust SDKs use PPIMPL. _You_ can do better: use PPPIMPL.
Thanks. Twitter will use this to make your timeline better. Undo -
Successful compiles are priceless; semicolons are cheap. Use semicolons liberally as a prophylactic against compiler errors.
Thanks. Twitter will use this to make your timeline better. Undo -
Before you settle on a style for your code, don't forget to settle on the style for your style guide!
Thanks. Twitter will use this to make your timeline better. Undo -
The “Swap” pattern is faster than “Copy-and-Swap” by exactly one copy.
Thanks. Twitter will use this to make your timeline better. Undo -
In multi-line lists, some put commas at the line end, some at the beginning. Both are wrong. Commas go on a line to themselves.
Thanks. Twitter will use this to make your timeline better. Undo -
Be true to yourself! Unless that leads you to end a line with a `{`, in which case just give up.
Thanks. Twitter will use this to make your timeline better. 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.