Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/26/05 15:29
Read: times


 
#85822 - Awash with Pure Code examples!
Responding to: ???'s previous message
Hatem Zakaria said:
But there is no pure code examples given to declare it.

You have already given the definition: Pure Code is code that doesn't modify itself.

So any code that doesn't modify itself is, by this definition, Pure!

So, just look at any code example on this forum and ask yourself, "does this code modify itself?"
If the answer is "No, it does not modify itself" (and I think that will be the case for 100% of the code on this site) then, by definition, it is Pure code!




List of 21 messages in thread
TopicAuthorDate
Pure Code            01/01/70 00:00      
   Pure Code            01/01/70 00:00      
   Pure Code            01/01/70 00:00      
      Impure code?            01/01/70 00:00      
      Pure Code            01/01/70 00:00      
         do not use the wrong processor            01/01/70 00:00      
         Awash with Pure Code examples!            01/01/70 00:00      
   Does this term have any general meaning?            01/01/70 00:00      
      Does this term have any general meaning?            01/01/70 00:00      
         OK, so what is your question?            01/01/70 00:00      
            My question            01/01/70 00:00      
               all code is pure !            01/01/70 00:00      
               To put it the opposite way,...            01/01/70 00:00      
                  Mel            01/01/70 00:00      
               applications in which we can use this            01/01/70 00:00      
               applications in which we can use this            01/01/70 00:00      
   Pure Logic            01/01/70 00:00      
   Not "Pure Code", Pure code            01/01/70 00:00      
      no local variables            01/01/70 00:00      
         Some did in the past            01/01/70 00:00      
      Nothing Special            01/01/70 00:00      

Back to Subject List