fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

What is your opinion on (conditional) branching in your code?

Conditional branching includes things like (non-trivial) if statements, for statements, etc.

splatt9990

@urusan "Premature optimization is the root of all evil" -- Donald Knuth

Worrying about overhead from branching is almost always wasted effort, especially if you haven't profiled the code to find what the true bottlenecks are.

Obviously, there are exceptions to this ("it depends" is always the correct answer in CS) but you should never worry about something like that until you have to.