@def I mean to ask why there would be a difference between:
    
    
    proc main() = discard
    when isMainModule:
      main()
    

instead of just:
    
    
    proc main() = discard
    main()
    

@euant I can't follow that reasoning. I use "when isMainModule" for test code 
in libraries or to try quickly stuff in modules which normally get included but 
are in development. It would not mean anything regading "global code" if I 
scanned my codebase for "isMainModule". It would if I scan for main() though, 
as this is what I use instead of "global" usually now. 

Reply via email to