r/programminghorror • u/TemporaryCurrent1172 • Apr 09 '26
Blueprint Spaghetti Code
Welp, my code in blueprints... kinda looks yummy
(Blueprint is a type of visual coding in unreal engine just so you guys know)
791
Upvotes
25
u/kingslayerer Apr 09 '26
Now I know what code looks to a non programmer
32
u/val_tuesday Apr 09 '26
Yeah you’d be fired from any self respecting team. It’s not funny or cute. It’s disrespect of your coworkers (and your future self).
Upvoted.
6
u/JollyJuniper1993 Apr 09 '26
Whoever invented low-code/no-code programming can go rot in hell. Half the businesses in my city demand it because some manager probably thought it makes things easier and makes people more productive.
3
u/lucasthech Apr 10 '26
As a Unity dev, this is one of the reasons that I keep myself away from Unreal lol
Edit: The other reasons are that Unreal is badly optimized, each version takes a lot of space and it doesn't have linux support, but aside from that it has a lot of nice features
146
u/Blecki Apr 09 '26
Imagine I took the time to make a version of the can't decide button meme where they are labeled horrified and impressed.
Seriously clean that up. It will be both brittle and impossible to fix until you do.
42
u/PleasantSalamander93 Apr 09 '26
Mother of god
100
u/GamingGuitarControlr Apr 09 '26
Visual coding was a mistake.
32
u/TalonS125 Apr 09 '26
al dente
26
u/jorvik-br Apr 09 '26
Dead by Daylight code, probably.
10
u/Ralileo16 Apr 09 '26
Thats not spaghetti code.. thats a whole ass italian restaurant
6
u/dayk995 Apr 09 '26
ship it
5
u/AnywhereHorrorX Apr 09 '26
Ok. So what does this BP do?
5
u/Wiktor-is-you [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Apr 09 '26
can i eat it
4
u/CanThisBeMyNameMaybe Apr 10 '26
My brother in blueprint, have you heard of functions?
1
u/Immort4lFr0sty Apr 09 '26
Do blueprints not support functions?
3
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Apr 09 '26
Just needs some ground beef, pasta sauce, and seasoning.
2
u/scammer_hand Apr 09 '26
Nordic knots code
2
u/wolfenstien98 Apr 10 '26
I thought this was a completely normal satisfactory diagram
2
u/illyay Apr 10 '26
This is why I do things in C++ and only the simple gameplay stuff in Blueprint.
2
u/muminisko Apr 10 '26
AI is doing it on everyday basis :) In 6 months this would be impossible to understand or change
1
u/notc00l Apr 09 '26
What a masterpice
1
u/TingleWizard Apr 09 '26
I don't know what this is but I know that I hate it.
1
u/dvhh Apr 10 '26
I think I got the epiphany when working with SQL server integration service, that visual coding tool would help better visualize spaghetti code as actual spaghetti.
Blueprint does look like nicer spaghetti though
1
u/Amr_Rahmy Apr 10 '26
Does blueprint allow you to group nodes into a custom node, like making a function?
Does it also allow you to create a data structure or object?
1
u/MonsieurMachine Apr 10 '26
Even spaghetti are shoked
1
u/ChocolateDonut36 Apr 10 '26
someone needs to make pasta that looks like colored code and call it spaghetti code
1
u/boremetodeathplease Apr 10 '26
I do visual coding every day (TIBCO Streaming) and it's OK if you do it right. But this is horrifying. WTF man. Burn this shit.
1
u/Affectionate_Fox_383 Apr 10 '26
can not see that green blob well but the rest of it looks fine, just squished together. this graphic needs more horizontal room.
1
u/PaintingJo Apr 11 '26
I'm sure that lone frame containing 3 nodes was crucial to understanding the code
1
u/BreakingBaking Apr 11 '26
Oh, dead by daylight source code cosplay...
1
u/IDontMindMuch Apr 11 '26
Unpopular opinion maybe, but I would love to clean this up.
1
u/Birnenmacht Apr 12 '26 edited Apr 12 '26
Sooo how does version control work with node based programming? I bet merge conflicts are fun :]
1
u/Every-Atmosphere3721 Apr 16 '26
haha
1
u/j44dz May 24 '26
More spaghetti can be found with this tool: https://tangleguard.com/, sometimes here too https://app.tangleguard.com/
1
u/ElToiler Sep 28 '26
Voy a usar esta imagen para un ejemplo de código espagueti en visual scripting!