- Joined
- Aug 2, 2021
Can you actually use Visual Scripting without it becoming a complete and utter mess?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
this was the one I was talking about earlier, thanks!I also make everyone read this:
https://cs.fit.edu/~kgallagher/Schtick/How%20To%20Write%20Unmaintainable%20Code.html https://archive.is/hhXBS
Yes.Can you actually use Visual Scripting without it becoming a complete and utter mess?
I too have heard rumors... It's like a unicorn, you only see it in books, and the closest irl is a rhinocerosYes.
Although house-keeping will be a bit more tedious when you have things tidied away in shelves of commented sections trayed and shelved in rows of here and there for that and this... and so on.
I got the shakes just seeing those three opening lines of code.but I saw this image and what it describes sounds pretty bad.
Yeah it's like when a horror movie opens with a teenage girl breaking down on the side of a 2-lane highway in pouring rain, you know exactly where this story is going.I got the shakes just seeing those three opening lines of code.
Any chance you can put it in idiot terms for me?I got the shakes just seeing those three opening lines of code.
Asian lady drivingAny chance you can put it in idiot terms for me?
10 PRINT "NIGGER"
20 GOTO 10
FTFY. To be fair, even QBASIC didn't require line numbers, it was just backwards compatible with them.SCREEN 0 : CLS
1 0 PRINT "NIGGER"
20 GOTO 10
// ...
case "automobile":
automobile();
break;
// ...
getattr()
to do dynamic lookup like this.Tagged union with a function pointer or a template in c++The OP has me curious. What's the best way to do things like:
...in C or other languages like it? I know in Python one could useC:// ... case "automobile": automobile(); break; // ...
getattr()
to do dynamic lookup like this.
Any links I could look at?Tagged union with a function pointer or a template in c++
This is a bit different from what I said but its cleaner if it works https://stackoverflow.com/a/18422235Any links I could look at?
As a side note, the old guard of Microsoft programmers who religiously maintained backward compatibility for decades mostly deserve a Semper Fi. I just think the invention of VBA was one of those times they could and should have broken it a bit.To be fair, even QBASIC didn't require line numbers, it was just backwards compatible with them.
At that point I'd just do a C++ virtual function and let the compiler take care of all that bookkeeping.Tagged union with a function pointer
I tend to agree in principle but I usually end up using tagged unions even in c++ because it's less code you have to write, instead of a class per type you need it can be an enum case and a slot in the union if needed. But what I like about how c++ does it is that constructors can be really useful when you rely on member variables being initialized in a uniform way, so I end up using c but with the nice features of c++ mixed inAt that point I'd just do a C++ virtual function and let the compiler take care of all that bookkeeping.