Something I like from some other languages is a #Todo precompiler directive. Basically, it works like this:
When compiled, the #Todo will generate a warning. So, basically, it's a comment which will nag until you fix it.
I find this very useful when writing complex code, when I'm jumping around and adding this and that in a dozen places. It's easy to forget something, and #Todo helps cure that. Sure, You could use a 'Todo comment and then search it, but having a warning is nicer.
B4X:
If EverythingOK = True Then
'Do some stuff...
Else
#Todo Don't forget to add some code to handle this
End If
When compiled, the #Todo will generate a warning. So, basically, it's a comment which will nag until you fix it.
I find this very useful when writing complex code, when I'm jumping around and adding this and that in a dozen places. It's easy to forget something, and #Todo helps cure that. Sure, You could use a 'Todo comment and then search it, but having a warning is nicer.