| 
                                    
                                 | 
                                
                                     
                                    
                                        
                                            
                                                
Παρουσίαση με Ετικέτες
	Όλες οι Ετικέτε... »  Design-Patterns   (RSS)
	
	
	
	
		
	 
	
			
		
			- 
			
				
				
					There are many solutions on the net for avoiding the null check. Here is mine: public interface Option<T> { } public struct Nothing<T> : Option<T> { } public struct Just<T> : Option<T> {     public readonly T Value;     public Just(T value) { Value = value; } } public static class OptionExtentions { ...
				 
				
			 
			 
		
			- 
			
				
				
					General reference in fp patterns and idioms. More
				 
				
			 
			 
		
			 
		
	
		
	 
	
	 
 
 
                                             | 
                                         
                                     
                                 | 
                                
                                    
                                 |