615
TOML
(lemmy.nz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
A good way to feel that for yourself is by programming a little program in Assembly and C.
Make sure the program needs to loop a bit and perhaps also require some
if/elselogic.A simple one would be to read a 1000 integers and return the sum.
In C, you would do something like:
In assembly, you would go (writing pseudo, because I have forgotten most assembly stuff):
I also realised that you could just try using C with
gotoinstead of any loops and would realise similar things, but I'm not in the mood to rewrite my comment.In conclusion, it is easier to understand something like BASIC, if you haven't been introduced to other languages, but these
{}structures end up making it easier to catch control flows at a glance.That's also the argument I use when telling people to have opening and closing brackets of the same level at the same indent, while people prefer stuff like: