I know that in C # 3.0 you can spell some functional programming with links and lambda expressions and some stuff. However, is it possible to go completely "pure" functionally in C #? By "pure" I mean the methods that are pure (always gives the same output for the same input) and are completely free of side effects. How do we get around the fact that we have C # Not even an integer type type?
If you want to program in a pure functional way, you do not have to stop anything.
On the other hand, if you have some programs, then there is no magic flag from which you get the program Pure Ints (irreversible)
- If you assign a paragraph to a paragraph When used in the form, it is passed from the value. No change is made for the collar.
- If you use the declared INT in the scope of a method within the law, then in this case, in this case, no one is required to take either of them (applied by the programmer) , Or do not use an int like this.
And if you really need an irreversible int, then see the read
keyword?
Comments
Post a Comment