User loginNavigation |
functions vs procedures..been reading up a bit on functional languages lately out of interest (99% a c/c++ programmer myself) I was curious if any of the multi-paradigm languages distinguished 'Functions'(without side-effects) from 'Procedures'(with side-effects) as a means of cleanly separating pure functional code from the rest... is this a common/usefull concept or not? obviously in c++ i'm used to the idea of const pointers to have some concept of what gets modified but there's always globals & over-rides there... By ceti331 at 2009年08月17日 12:01 | LtU Forum | previous forum topic | next forum topic | other blogs | 16254 reads
|
Browse archives
Active forum topicsNew forum topicsRecent comments
|