I won't be the first to say this, but we need to retire the phrase "Modern C++". I mean, C++11 was 12 years ago.
I understand that branding was necessary back then due to significant changes in the language and library, but it is ridiculous to continue to cleave language versions like that.
For my part, I just removed "Modern" from a course title, and I'm not looking back. 🚀
@meetingcpp
Digit separators are my absolute favorite #modernCpp feature.
There are a lot of reasons to use #Cpp 11+ but having written #VHDL and coming back to not being able to see what number we're talking about (especially if you have a smidgen of #dyscalculia) just feels like such a regression!
#moderncpp #Cpp #vhdl #dyscalculia
Ever wanted to #switch on a #QMetaType, or just a random, non-literal constexpr char pointer, aka. #string? Search no more:
https://gist.github.com/hasselmm/9cc5fb4404b52d28560b86cb468ca707
#switch #qmetatype #string #cxx #cpp #moderncpp #qt #programming #metaprogramming
@luna
I'm actually liking C/C++ more and more as a way to distinguish from proper or #modernCpp.
As in:
"You should definitely stop writing C/C++, it's giving C++ a bad Rep"
So I finally have an example that underlines my gut feeling of the else-if-statements being #harmful in modern C++.
Consider test(char) being a function returning a std::optional<>:
if (const auto x = test('A'))
handle_a(*x);
else if (test('B'))
handle_b(*x);
The function handle_b() will receive the invalid optional returned by test('A') instead of the one returned by test('B') without the compiler providing any warning.
Maybe something for your blog, @lefticus
Heartbroken that I won't be able to attend #emBO++ this year, but you can!
IMO emBO++ is _the_ best conference for #embedded, #modernCpp and the atmosphere there is the best I've experienced at any conference.
#embeddedProgramming #conference #lifeLongLearning #emBOio
If you don't believe me, go buy a ticket at
#emboio #lifelonglearning #conference #embeddedprogramming #moderncpp #embedded #embo
A Pattern Language for Expressing Concurrency in Cpp -- my talk at CppCon 2022
#moderncpp #programming #cpp #cppcon
@lefticus it was very funny to hear you of all people, Mr. "I've started telling people I'm a youtuber" react that way to #PHP on #CppCast.
#ModernPHP has a lot of similarities to #ModernCPP.
I haven't gotten very far in my own journey (hopefully next year I'll be modernizing a PHP code base) but you would download the jetbrains IDE, turn on all the tools, and take all the best practices hints.
It uses classes and defined interfaces and has a package manager, it really feels like a new language
#moderncpp #ModernPHP #cppcast #PHP
RT @CppCon
Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger CppCon 2022
#cppcon #cpp #programming #moderncpp #cpptypeerasure
The keynote from this years @meetingcpp is already online. Great job! This is an interesting one, a real rollercoaster ride.
My takeaway is: try new things out and talk about the warts.
#Cpp #moderncpp #ranges #meetingcpp
modern C++ type system. Types and Expresssion Categories
Friday, 25th Nov, 1830 hrs (UTC+3)
RSVP
https://www.meetup.com/softwarehub/events/288841512/
#cpp #isocpp #cplusplus #moderncpp #SoftwareHub #Ankara #Turkiye #Turkey #Riyadh #Cairo #Dubai
#cpp #isocpp #cplusplus #moderncpp #SoftwareHub #ankara #turkiye #turkey #riyadh #cairo #dubai
First production use of my C++ dependency injector.
Its syntax is inspired by Ninject and it uses
- no macros
- no preprocessor
- no code generator
It does constructor injection exclusively and figures out constructor signatures through pure template magic and no dirty tricks.
#templates #cpp #moderncpp #programming