Nim is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nim's design focuses on efficiency, expressiveness, elegance (in the order of priority).
echo compiles(Person.age)
returns true
age
in Person
I meant
typetraits
it should now echo int
Person[0]
instead of returing the type of Person[0]
total_post = 8
total_post_per_page = 5
how to find total page by total_post
and total_post_per_page
total_post/total_post_per_page # -> to even, ex 8/5 1.6 > 2 (2 page)
int
if that's what you need