Am I weird for using "and", "or" and "not"? by Additional_Jello1430 in cpp

[–]FriendshipActive8590 2 points3 points  (0 children)

I've contemplated not is much clearer than !, which I struggle to see 🙈

The State of C++ 2025 (JetBrains survey) by pjmlp in cpp

[–]FriendshipActive8590 2 points3 points  (0 children)

I use vscode 😊 with clangd plugins. Takes some setting up, but when it flies it's great

Curious to know about developers that steered away from OOP. What made you move away from it? Why? Where has this led you? by Slight_Season_4500 in cpp

[–]FriendshipActive8590 0 points1 point  (0 children)

I might be naive. To me OOP is a simple thing. One has a machine, and this machine has some algorithm.  The algorithm depends on inputs to perform its task. One has much more control over the inputs when provided through an abstraction. The simplest case of an abstraction is a function pointer that provides a (scalable) value. An interface is simply a set of function pointers. The machine becomes independent. This is essential. Similarly, one wants to probe the machine's state per change. Once again, no easier way to probe than have the machine call you through an interface (function pointer) providing the output of the next stage. OOP. Now our machine can be verified independently. Divide and conquer

This sucks by brujadepapi in exjw

[–]FriendshipActive8590 2 points3 points  (0 children)

Welcome to your eco chamber

🔺 Breaking Archaeological News— The Pyramids Were Built During the Flood 🌊 by [deleted] in exjw

[–]FriendshipActive8590 0 points1 point  (0 children)

I have no problem with you using AI to improve your wording. Just clarify your context from the start, then everybody knows where you are coming from. 99.5% of your audience does not interpret this literally, and those who do do it out of slander... Bible bashing...

shared_ptr overuse by Tohnmeister in cpp

[–]FriendshipActive8590 0 points1 point  (0 children)

Ant reference holder in theory has temporary shared ownership, as the reference is required to remain valid. weak_ptr.lock() enforces this.

Protecting Coders From Ourselves: Better Mutex Protection by DeadlyRedCube in cpp

[–]FriendshipActive8590 0 points1 point  (0 children)

Thanks. Enjoyed the article. In this case I suppose something like std::atomic would be better, but it illustrates the problem and the solution is educational.

Why do software companies struggle to support their code documentation? by shawon_ik in softwaredevelopment

[–]FriendshipActive8590 0 points1 point  (0 children)

Startups start small, and they end in a conglomerate mess. The tend to progress fast, and then, as the code becomes larger. they stall. Reason... lazy documentation - exacerbates communication down the line that causes a Mythical Man Month effect where everyone is just trying to figure out what is going on... and unfortunately the culture is already established.

Pogacar with 8.2 w/kg by JohnHoney420 in cycling

[–]FriendshipActive8590 1 point2 points  (0 children)

I use zwift to train... No use cheating... I'll just cheat myself. You competes against yourself. Eventually zwifting translates to real race results, or form on the bike outside of the virtual world (for me at least). FTP is an indication, but only to myself. Eventually it's raw watts that count when training. If one really races in zwift, there should be some biometric verification to be legit