exit as the last command in a script file is wrong
What evidence do you have for that statement?
It very likely increases the work OFP has to do
Well, does it or doesn't it?
OFP will for sure notice when the end of the file has been reached
Well, does it or doesn't it? I know you are trying to be helpful but your post is speculation not information.
There are a lot of unfinished corners in ofp scripting and this could be one of them. THobson's joke might not be a joke. Ending with exit could significantly speed things up. We do know that ofp can cope when a script does not have exit at the end but maybe it copes better if it does.
writing exit to the last line of your scripts is totally pointless
Wrong. This is a significant expansion on your original unsupported assertion that writing exit merely slows the game down. Even if it does slow the game down it indicates to anybody editing the script - including yourself six months later - that the script is finished and there aren't 20 more lines that have been deleted by Windows for no reason and without a trace. It also makes a comment line "this is the end of the script" superfluous. It also allows you to add at the end of the file comments or other information useful for explaining, editing or generalising the script. It is also aethestically more pleasing, thereby making the world a better place. It also has a pschological benefit since it bestows a sense of completion on the proceedings.
instead of thinking like this:
"End Of File reached. Closing now."
How does it know the end of the file has been reached? The calculations for this may be significant.
Your assertion is not logically sound.
The large savegame bug could possibly be used to test this although I'm not going to do it. I will continue to write exit.
Edit
@HateR_Kint you are correct.