Revert 6a80ffc^...6a80ffc on Nim for Python Programmers

This commit is contained in:
Daniil Yarancev 2017-09-08 14:42:29 +03:00
parent 6a80ffcfb1
commit c811b27af2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Exceptions | Yes | Yes
### Philosophy ### Philosophy
The key to understanding Nim is that Nim was not designed to be as fast as C, but to be much safer. Many of the design-decisions are based on making it harder to shoot yourself in the foot. The key to understanding Nim is that Nim was designed to be as fast as C, but to be much safer. Many of the design-decisions are based on making it harder to shoot yourself in the foot.
In Python there are no pointers (everything is treated as a reference). 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. 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.