The 7 Brackets of Doom - Bracket 6: Triangle-Square Conundrum

The 7 Brackets of Doom: a legendary collection of coding abstractions.
Proceed to Bracket 7: Cylinder Puzzle or Back to Bracket 5: Circle Chaos

Warning: Do not try this at home. Or do. We won't judge you.
Pentagon Predicament: Because You Clearly Need More Angles

Square Spaghetti: Because Overcomplicating Things is Our Specialty

Here is the cheat sheet for the 6th bracket of doom:

Triangle-Square Conundrum

What do you do when a square meets a triangle and both have the same height?

Common Mistakes:

Don't do these things:

Advanced Techniques:

For the truly advanced:

Remember, with great power comes great responsibility.

Back to The Brackets of Doom Main Page