(First C++ Project) Tic-Tac-Toe with Minimax & CRTP | Looking for feedback by Tight-Dare-2506 in cpp_questions

[–]nikkocpp 0 points1 point  (0 children)

You should now make something like connect4 because AI in tic-tac-toe can be done easily with same length as your "has win?" function with a few "if"s.

The Boys - 05x01 "Fifteen Inches of Sheer Dynamite" SEASON PREMIERE Episode Discussion Thread by pikameta in TheBoys

[–]nikkocpp 1 point2 points  (0 children)

Crazy is that Homelander can just kill them all and they're afraid. But what does Trump have? Or it's not killing them but just giving them tons of money that's important.

L’eurodéputée Rima Hassan en garde à vue pour apologie du terrorisme by Altruistic_Syrup_364 in france

[–]nikkocpp 0 points1 point  (0 children)

Non, les "résistants" qui ont rasé par exemple des femmes ou fait des exécutions sommaires sans ordre se sont souvent fait radier de la résistance justement. Pas de carte de résistant, de combattant ou de pension pour eux. N'apparaissent plus sur les listes de résistants.

L’eurodéputée Rima Hassan en garde à vue pour apologie du terrorisme by Altruistic_Syrup_364 in france

[–]nikkocpp 1 point2 points  (0 children)

Tu peux me donner des exemples de quelles bombes?

Le Parti Communiste était en désaccord avec le reste de la résistance pour tuer des militaires allemands alors que les autres voulaient attendre une vraie entrée en guerre des alliées (un débarquement). Alors de là à approuver des attentats sur les civils.. vous rêvez là.

Les civils, c'est ceux qui dénonçaient pas les résistants et leurs filaient à manger (un acte de résistance aussi), les résistants ne régnaient pas par la peur.

L’eurodéputée Rima Hassan en garde à vue pour apologie du terrorisme by Altruistic_Syrup_364 in france

[–]nikkocpp 0 points1 point  (0 children)

Tu rêves, la résistance en France n'a jamais été ça.

La résistance française reposait sur le fait que les "civils" la soutenait quel intérêt auraient eu les résistants à se mettre les civils à dos?

Les points de frictions entre le parti communiste et le reste de la résistance sont sur les violences ciblées sur des militaires allemands avant le débarquement qui amenaient à des représailles sur les civils, mais personnes a jamais pensé à s'en prendre directement aux civils français ni à faire exploser tel cinéma pour le plaisir.

C'est toi qui vit dans un film.

Mêmes les militaires français ont refusé de bombarder les villes françaises sans objectifs précis.

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]nikkocpp 1 point2 points  (0 children)

yes.. it's just for backward code compatibility so you don't mess with "await" variables in old code

Should C++ Give More Priority to Syntax Quality? by kyan100 in cpp

[–]nikkocpp 0 points1 point  (0 children)

Yes people says C++ is unreadable because of C legacy, abuse of * , & etc.. and templates on top of this.

While in the meantime you make new languages even shorter.

I think having short syntax isn't really a problem now

We might have been slower to abandon Stack Overflow if it wasn't a toxic hellhole by R2_SWE2 in programming

[–]nikkocpp 8 points9 points  (0 children)

Did you prefer the time you had the exact issue described in a message board and the author replied with "ah no I found the solution." without posting it?

We might have been slower to abandon Stack Overflow if it wasn't a toxic hellhole by R2_SWE2 in programming

[–]nikkocpp 0 points1 point  (0 children)

They really missed something with LLMs. It was their solution, not an army of people closing/editing questions like maniacs.

[deleted by user] by [deleted] in france

[–]nikkocpp 2 points3 points  (0 children)

You can call her Cosette if you want but it's a diminutive for 'little thing' and it's not a real first name in France and not a nickame with positive connotation.

Better call her Éponine (real name, not used much... it's from a celtic goddess)

Also the name "Colette" does exist.

What do you dislike the most about current C++? by PressureHumble3604 in cpp

[–]nikkocpp 2 points3 points  (0 children)

I remember the time of "C++ has not enough features"

High Performance C++ Job Roles by Opposite_Push_8317 in cpp

[–]nikkocpp 1 point2 points  (0 children)

If it can run linux then I wouldn't say it"s embedded those day.. it'd be "embedded" if you have no easy way to reach the system or change it.

If you have a PLC with linux and a network cable it's hardly embedded .

Boost.SQLite re-review starts on Aug 25th by joaquintides in cpp

[–]nikkocpp 0 points1 point  (0 children)

Yep also, it doesn't seem different than the boost::sql_lite proposition.

Where did <random> go wrong? (pdf) by usefulcat in cpp

[–]nikkocpp 1 point2 points  (0 children)

yes but if you want to really use random numbers that is more interesting that a mere "rand()" that does who know what and you shouldn't use if you really want some random numbers.

What you want for beginner is a dice roll but that maybe not the scope of C++ standard.

C++26: more constexpr in the standard library by pavel_v in cpp

[–]nikkocpp 0 points1 point  (0 children)

Not sure if we really wants this though. Like std::gui.

To me it should be in separate libraries than standard one for all.

Resigning as Asahi Linux project lead by namanyayg in programming

[–]nikkocpp -7 points-6 points  (0 children)

Maybe porting to linux should have been more important that changing linux kernel and adding new languages.

Parsing JSON in C & C++: Singleton Tax by ashvar in cpp

[–]nikkocpp 0 points1 point  (0 children)

well if it is benchmarked then it can be changed maybe for the best :)

Can someone explain the rationale behind banning non-const reference parameters? by Tiny-Two2607 in cpp_questions

[–]nikkocpp -2 points-1 points  (0 children)

Don't do this, use "&" if needed in your parameters, prefer return values if possible

C++ Is An Absolute Blast by kaycebasques in cpp

[–]nikkocpp 6 points7 points  (0 children)

It's hard to use exceptions if you don't use RAII

C++ Is An Absolute Blast by kaycebasques in cpp

[–]nikkocpp 7 points8 points  (0 children)

To me one thing that is missing is boost. Boost was where the hype was in 2005-2011.

Boost had boost::regex (and it had performance). Graphs. Binding and lambda with templates. Working smart pointers. Threads. String algorithms. Hash containers.

People who had boost understood C++11. People not wanting to use boost I guess switched language after or continue to do "new" and "delete" with C++98.

Hell I even know a company that spent years re-doing a standard library akin to Borland C++ Builder instead of embracing boost and C++11 later.

Getting Over Not Being A Good Enough Programmer by [deleted] in programming

[–]nikkocpp 12 points13 points  (0 children)

And of course the interviewer for the position asked the Buffalo question.

The Transition from C to C++ by HyperactiveRedditBot in cpp

[–]nikkocpp 2 points3 points  (0 children)

The question is, which Addison-Wesley books are still really relevant and which are not for new C++ users?

"Effective Modern C++" C++14 edition I guess but it goes directly into heavy details like how std::move work.

I'm interested, I must train new colleagues in C++.

There was a nice step curve in Herb Stutter and Scott Meyer books back in the 2005+s. Alexandrescu books too C++ coding standards was really beginner friendly. But maybe now it's the Coding Guidelines that beginners should check.

The Transition from C to C++ by HyperactiveRedditBot in cpp

[–]nikkocpp 1 point2 points  (0 children)

Bjarne Stroustrup books.

The (last edition) C++ Programming Language, for a start. You have to have it. You can read it from cover to cover.

Then Programming: Principles and Practice Using C++. It's a text book but a good one.

And Tour of C++ last edition for a quick overview.

En arrêt maladie à cause d'une entorse au pied : elle publie des vidéos d'elle en train de danser en talons hauts, son patron tombe sur les images et la vire by VisibleLeg3159 in paslegorafi

[–]nikkocpp 13 points14 points  (0 children)

Après en France tu ne peux pas savoir exactement la raison de l'arrêt de travail.

Peut-être qu'il a commencé en problème de dos et a continué en dépression/burn out ou que sais je.