> I do agree with you that indentation is not difficult to adopt, but it's > difficult to maintain, for example between 1 and 2 which one do you think the > programmer intends [...]
I think the programmer intended what they wrote at the time of writing, whether version 1 or 2. Since you use only indentation in Nim to convey the structure, you'd pay attention to the indentation, in the same way you'd pay attention to placing your braces. Consequently, ... > People need all the visual aid to understand code. compare the above to the > following code"without indentation" see if you get the intention. > > > start_process() > if finished { > save_results() > pay(10000) > } > > > Run If I see this, I'd think the intention was to pay 10000 when finishing. If I see start_process() if finished: save_results() pay(10000) Run I'd think the same.