Skip to main content

Vincent Tsao's Library tagged programming   View Popular, Search in Google

Sep
7
2011

    • Here’s the plan of attack:

        
         
      1. Create a new class for the computation
      2. Define a method on that class to do the new work.
      3. Copy the body of the old method over, and change variable references to instance variables.
      4. Give it an initialize method that takes arguments to set the instance variables used in step 3.
      5. Make the old method delegate to the new class and method.
Nov
9
2010

  • Gosu is a programming language for the Java Virtual Machine (JVM).
1 - 20 of 55 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo
Move to top