🔮✨ Oh, the profound wisdom of Brian—agents need control flow, not more prompts! Because clearly, the software industry's been too busy writing poetic prompts instead of, you know, actual code. 🤦‍♂️ But hey, why scale with functional logic when you can just dream it all into existence? 💭🚀
https://bsuh.bearblog.dev/agents-need-control-flow/ #BrianWisdom #ControlFlow #SoftwareIndustry #CodeOverPrompts #FunctionalLogic #HackerNews #ngated
agents need control flow, not more prompts

Thesis: reliable agents tackling complex tasks need deterministic control flow encoded in software, not increasingly elaborate prompt chains If you’ve eve...

brian’s thoughts
agents need control flow, not more prompts

Thesis: reliable agents tackling complex tasks need deterministic control flow encoded in software, not increasingly elaborate prompt chains If you’ve eve...

brian’s thoughts
You can't cancel a JavaScript promise (except sometimes you can) - Inngest Blog

A promise that never resolves is a surprisingly clean way to interrupt an async function.

Match Expression vs Switch: Pattern Matching Showdown

PHP 8's match expression vs JavaScript switch. Which language's control flow is more elegant? You won't believe this!

#php #javascript #phpvsjavascript #matchexpression #switchstatement #patternmatching #php8 #programmingcomparison #codecomparison #controlflow #viralcoding

https://www.youtube.com/watch?v=BiiJf3Cpbsk

Match Expression vs Switch: Pattern Matching Showdown #PHP

YouTube

How to Avoid switch Type Juggling Bugs

Loose switch cases can match the wrong branch.

#php #switch #typejuggling #bug #howto #controlflow

https://www.youtube.com/watch?v=ySZmYPKx6IY

How to Avoid switch Type Juggling Bugs #typejuggling

YouTube

Labels Can Break ANY Block?!

JavaScript has GOTO in disguise! Labels with break can exit ANY block, not just loops! This code jumps OUT of nested blocks instantly. Most developers have NEVER seen this syntax!

#javascript #javascripttricks #labels #breakstatement #controlflow #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #hiddenfeatures #advancedjavascript

https://www.youtube.com/watch?v=JQ7PX8sFmyo

Labels Can Break ANY Block?! #controlflow

YouTube
For loops in C++

PeerTube
While loops in C++

PeerTube
Switch statements in C++

PeerTube
If statements in C++

PeerTube