MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/rh1g2j/modern_c_in_advent_of_code/hooadh4/?context=3
r/cpp • u/Happycodeine • Dec 15 '21
This series, by Šimon Tóth, is a step by step guide through the solutions of Advent of Code 2021 using Modern C++.
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10
Day 11
Day 12
Day 13
Day 14
Day 15
83 comments sorted by
View all comments
31
Seeing these gives me no desire to use c++. Most of the challenges are 10-20 lines in Python. Meanwhile the c++ code starts with "first let's define an implementation for a tuple, it's constructor, comparison operator, and make it hashable". Yikes.
0 u/[deleted] Dec 15 '21 [deleted] 6 u/Ecclestoned Dec 15 '21 Actually python is mostly C (at least if you are using cpython).
0
[deleted]
6 u/Ecclestoned Dec 15 '21 Actually python is mostly C (at least if you are using cpython).
6
Actually python is mostly C (at least if you are using cpython).
31
u/Ecclestoned Dec 15 '21
Seeing these gives me no desire to use c++. Most of the challenges are 10-20 lines in Python. Meanwhile the c++ code starts with "first let's define an implementation for a tuple, it's constructor, comparison operator, and make it hashable". Yikes.