Programming

so my method is as follows:
horizontal lines and vertical lines.

What exactly does that mean and what is wrong with diagonal lines or even curves?