Updated Common Criticisms (markdown)

This commit is contained in:
flaviut 2014-10-21 16:18:09 -07:00
parent 11c671aafc
commit 11456d75e3
1 changed files with 1 additions and 1 deletions

View File

@ -9,4 +9,4 @@ var b: T = ...
foo(b) # also valid and equivalent
```
Note that the difference between what happens in Java and what Nim does is simply a matter of efficiency: Nim does not require our `T` to be allocated on the heap.
Note that the difference between what happens in Java and what Nim does is simply a matter of efficiency: Nim does not require our `T` to be allocated on the heap, and it certainly allows `b` to be declared with `let`, which will force an compile-time error to be thrown.