3 ms·
I never liked those "if" statements! "IF"? Why is there an "if"? It implies you're uncertain, or have hesitations, doubts even? That's rookie shit. I never do.
by PopsiclePete 9y ago
I never liked those "if" statements! "IF"? Why is there an "if"? It implies you're uncertain, or have hesitations, doubts even? That's rookie shit. I never do. Straight and happy path for this cowboy, always.
- aceoflala 9y ago"if" statements? I only do macho programming.
- tzahola 9y agoIf you have conditionals in your program, it means that you're trying to do too many things at once. Follow the UNIX philosophy: do one thing, and do it well!
- fib 9y agoAnd always run every program and always pass every option! Do everything well!
- Asdfbla 9y agoA for loop also is an implicit branch, by the way. At least it will be compiled to something with a conditional jump. So being unsure about how many times you want to do a thing is a no-go too.
- pertymcpert 9y agoNot if it's a known constant trip count, then you can fully unroll it. No more branches! If the trip count isn't known at compile time? You should find out.
- deleted 9y ago[deleted]
- earenndil 9y agoNo branches if you movfuscate[1] your code! You do end up with that happy path, that straight path, that clean path that's wholly immune to those pesky branching bugs. 1: https://github.com/xoreaxeaxeax/movfuscator https://github.com/xoreaxeaxeax/movfuscator