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 | 6117 reads
|
Browse archives
Active forum topics |
Recent comments
2 days 45 min ago
2 days 6 hours ago
3 days 16 hours ago
3 days 16 hours ago
3 days 21 hours ago
6 days 9 hours ago
3 weeks 4 days ago
3 weeks 4 days ago
3 weeks 4 days ago
4 weeks 11 hours ago