User loginNavigation |
Nomenclature for impure functionsThe Wikipedia article about pure functions explains that they follow two rules:
I would like to know if there is an established nomenclature for impure functions that break only one of these rules. That is, how do I call a function that depends on some external state (like a GetCurrentDate() function) and another that has side effects (like printf)? By Alexandre Cossette at 2011-04-22 23:12 | LtU Forum | previous forum topic | next forum topic | other blogs | 5947 reads
|
Browse archives
Active forum topics |
Recent comments
4 weeks 1 day ago
44 weeks 3 days ago
44 weeks 3 days ago
44 weeks 3 days ago
1 year 14 weeks ago
1 year 18 weeks ago
1 year 20 weeks ago
1 year 20 weeks ago
1 year 23 weeks ago
1 year 27 weeks ago