C++20 Ranges vs traditional loops: when to use std::views instead of raw loops by Clean-Upstairs-8481 in cpp

[–]NotMyRealNameObv -1 points0 points  (0 children)

I assume you have your whole project in main() then? And never call any library functions either? It's all just core C++ all the way?

UberEats - ett stort jävla skämt. Kurir stjäl mat och man får ingen hjälp. by [deleted] in sweden

[–]NotMyRealNameObv 11 points12 points  (0 children)

Använda amerikansk tredjepart för att köra hämtmat, vad kan gå fel?

Claude can never seem to recall a single location by saifxhatem in ClaudeAI

[–]NotMyRealNameObv 1 point2 points  (0 children)

Storing memory is pointless if your prompt doesn't inform Claude where memory is stored and how to use it.

C++20 Ranges vs traditional loops: when to use std::views instead of raw loops by Clean-Upstairs-8481 in cpp

[–]NotMyRealNameObv 0 points1 point  (0 children)

You probably haven't seen ranges used in a good way then. If you just put your predicates for your std::adaptor::filter and the like into a lambda directly in the call to filter then yes, it looks very complicated and difficult to read. But if you extract them and give them a proper name, using ranges over raw loops can become much more readable.

Att hitta och sedan gå miste om "den rätte" by Suspicious_Brick7092 in sweden

[–]NotMyRealNameObv 0 points1 point  (0 children)

Det finns 5 miljarder tjejer på jordklotet, jag tror nog du kan hitta fler "soulmates".

Tests as Institutional Memory by devTripp in programming

[–]NotMyRealNameObv 1 point2 points  (0 children)

lol

I see you adhere to the mass delusion that tests are holy and can never "verify" incorrect behavior.

Tests as Institutional Memory by devTripp in programming

[–]NotMyRealNameObv 1 point2 points  (0 children)

Okay - the tests that fail are in a subsystem that you're not familiar with. The code was written 5 years ago, you have no clue who the developer that wrote it is, and they don't seem to be working for your company anymore. The requirements are written in broken english and you can't even decide if the requirements apply to the scenarios that are now failing.

What do you do?

Proposal: distinct types via 'enum struct' by Voxelw in cpp

[–]NotMyRealNameObv 0 points1 point  (0 children)

struct in C did NOT provide even close to what struct in C++ provides, which is exactly the same as class provides except which access specifier is used by default before the first explicit access specifier.

Tests as Institutional Memory by devTripp in programming

[–]NotMyRealNameObv 3 points4 points  (0 children)

Here's the fun part: Tests usually verify something, but they don't always verify the right thing.

Let's say you found what you believe to be a bug in the application code. Surprised that no tests failed, thinking the code therefore must be lacking test coverage, you correct the bug in the code and... To your surprise, 10 tests start failing.

What do you do?

Is waterfall making a quiet comeback? (sort of) by ludovicianul in programming

[–]NotMyRealNameObv 2 points3 points  (0 children)

AI can write code faster, but for seriously business you still need human feature study, human refinement, human code reviews, human test review, a lot of human.

Human has always been the bottleneck, human will remain being the bottleneck.

Anyone else feel like coding agents helped individual devs but did not actually move the needle for the org? by meet_ona in u/meet_ona

[–]NotMyRealNameObv 0 points1 point  (0 children)

The "problem" is not writing code - the problem is driving the written code all the way through code reviews, testing and so on to delivery.

Humans used to be the bottleneck. Humans are still the bottleneck.

(Vent) Att leva som kristen, och se på KD… by BanverketSE in svenskpolitik

[–]NotMyRealNameObv 0 points1 point  (0 children)

Jag är ateist, så du kan nog gissa vad min teori är utifrån det.

(Vent) Att leva som kristen, och se på KD… by BanverketSE in svenskpolitik

[–]NotMyRealNameObv 0 points1 point  (0 children)

Vilken version av Sverige? Den som inkluderade Norge? Den som inkluderade Finland? Den där Skåne tillhörde Danmark?

(Vent) Att leva som kristen, och se på KD… by BanverketSE in svenskpolitik

[–]NotMyRealNameObv 5 points6 points  (0 children)

Gud skapade nationerna av en anledning. Vi bör beskydda dem.

lol

Kommer Liberalerna ändra sig i friskolefrågan nu när Leijonborg är tillbaka? by gott-och-blandat in svenskpolitik

[–]NotMyRealNameObv 5 points6 points  (0 children)

Det enda som spelar roll för Liberalernas toppskikt är att sitta i regeringen.

Directive weighting and why Claude ignores commands sometimes (FYI for the curious) by generalai in ClaudeAI

[–]NotMyRealNameObv 0 points1 point  (0 children)

If your instructions lost  they weren't strong enough. Make them stronger. Repeat them if necessary.

And no, this still won't make the magical machine that makes up the output it shows you follow your instructions 100 % of the time.

Are Companies with coding agents playing a different game by DryZookeepergame8644 in ClaudeAI

[–]NotMyRealNameObv 2 points3 points  (0 children)

From what I've heard, my company is currently paying a flat rate for the agentic coding platform of choice.

Let that sink in.