Show newer

@scalzi Watch out. They will flood your server room.

Rud boosted

@alexelcu @simontoth

No, you write an statement that reads in each item on the line.

int I;
string s;
cin >> I >> s;

An exploration of FizzBuzz using standard functions and the Ranges library, specifically views and pipelines.

medium.com/one-stop-c-plus-plu

@foonathan

CLang is making two assumptions. First, the while loop can be removed. Second, the return is never reached.

It shouldn't be doing both of them. Removing the while means the return can be reached.

Removing a return is just wrong under any circumstance.

@AstraKernel

C++ will warn about the signed / unsigned comparison.

Looking into learning more about functional programming, especially with . I have the Cukic and Bolboaca books. Just started reading the latter. Unfortunately, they are not in alignment with 20 and obviously not with 23.

I am interested in FP, but I haven't seen anything that seems current or not focused on other languages.

Please reply if interested and we'll see if there are enough to start a discussion.

(Is there a hashtag for FP? Creating a tag for discussions.)

@simontoth

After seeing your stories on Medium, I did some of the Advent of Code. Your use of functional programming led me to work with it more.

Currently working on an FP version of Day 7, the Linux-like command processing.

I wonder if a views::transform can take a vector in and output a std::set or std::map.

A month early anniversary dinner on Carnival Glory. Both ate way too much.

Rud boosted
Rud boosted

#education #books #programming #cpp #cpp20

Looks like "C++20 - The Complete Guide" by Nicolai M. Josuttis is finished (he allowed to buy it while being written).

I haven't bought this book yet, but I got his two books about #cpp17 and move semantics.

He's great educator, I can't recommend more! His videos are also very useful.

Bartłomiej Filipek is also great author if you want to refresh C++ knowledge.

cppstd20.com/

Now on the ship. Our anniversary is 12/29 but we will celebrate
early.

Show thread

@cowgirlcoder
Haven't heard about it but we don't live in Houston so probably not affected.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.