[LCP] creating a file descriptor entry for a piece of memory

Mike or Penny Novack stepbystepfarm at mtdata.com
Mon Nov 10 23:26:06 EST 2008


David Nugent wrote:

>Since I don't know what problem you're trying to solve, I can't offer  
>any useful advice there. It just seems that you seem more stuck on the  
>implementation details than focusing on the problem you're trying to  
>solve.
>
>What advice I will offer, though, is not to implement an idea because  
>that's how you think it should be done. Instead, look around at how  
>others others have solved the same or similar problems and learn to  
>recognise and understand the underlying /design pattern/ involved and  
>how well it provides the solution to that class of problem, which will  
>allow you to take advantage of possibly years of experience, trial and  
>error. You can learn a lot very quickly this way instead of being  
>caught up in the intricacies of implementing something you don't quite  
>understand.
>
>This is not to say that your approach is wrong, but at least you could  
>avoid uselessly reinventing a wheel where an already known and trusted  
>wheel will work just fine. The art of computer programming often comes  
>down to recognising where and when to apply existing and well known  
>design patterns.
>
>  
>
Here, here!

Michael D. Novack, FLMI
(a retired senior systems analyst with a few decades and a few hundred 
thousand lines of code experience in the cypher mines)

-- 
There is no possibility of social justice on a dead planet except the equality of the grave.




More information about the linuxCprogramming mailing list