diff --git a/Nim-for-Python-Programmers.md b/Nim-for-Python-Programmers.md index 235656d..5070634 100644 --- a/Nim-for-Python-Programmers.md +++ b/Nim-for-Python-Programmers.md @@ -51,6 +51,9 @@ In Python there are no pointers (everything is treated as a reference). While Nim does give you pointers, Nim gives you other, safer tools for your everyday needs, while pointers are mostly reserved for interfacing with C and doing low-level system programming. Contrarily to Python, most Nim code can be executed at compile time to perform meta-programming. +You can do a lot of the dsl-s possible with Python decorators / metaprogramming with Nim macros and pragmas. +(And some stuff that you can't!). Of course this requires some different patterns and more type safety. + ### Arrays