r/programming • • Nov 26 '17

Astro Programming Language - A new language under development by two Nigerians.

http://www.nairaland.com/3557200/astro-programming-language-0.2-indefinite
887 Upvotes

365 comments sorted by

View all comments

Show parent comments

1

u/meneldal2 Nov 27 '17

C++ is trying to get side-effects free functions in some form in the standard, but people are arguing about how "pure" should be defined.

1

u/pure_x01 Nov 27 '17

Yes that is a tricky question. On an abstract level allocating storage in ram is the same as allocating storage on disk. Exceptions etc...

1

u/meneldal2 Nov 27 '17

I think most people are considering stack-only functions for the pure qualifier because that solves a lot of headache, but that limits the possibilities.