Programming Notes

i have a thought in mind. I took a notebook and thought through it through a pencil. I think it will work. It is all in my mind. laid out in a map. I just have to implement it.

how can i pass it on to someone that can implement it without loosing the fidelity of my thought! what tools do I have?

I create the java classes. roughly. create the methods. describe what should happen in each method.

then, Can someone else fill in the blanks. compile the code, test the code?

what instead, if I just take into account all the possible options of the design and their alternatives and lay out a white paper with possible solutions. This should let someone help to implement it!!


/*
    * Take the input post
    * the keys are user defined fields
    * the keys should be mapped to their storage keys
    * use InsertStatement as a conduit to get this done
    */
   public List<InsertStatement>
   getInsertStatements(Map<String,String> submittedListRow)
   {
      return null;
   }

what about pure interfaces? will they help?

I wonder if a 'crowd' can implement a class simultaneously!

ask me if you are curious!!

yes I have a twitter account

eclipse is just an incredible tool!!!


//Map<StorageColumnName, StorageColumnValue>
private Map<String,String> attributeValues
   = new HashMap<String,String>();

Here are some notes on eclipse as you program in Java

Use asserts for key validations on the state of a class

In a java function you can start typing

SQL

and then press ctrl-space. eclipse may prompt you that with

SQLQuote

and complete the possible class name for it. that's nice!!!

write down your function names in your skeleton class. Document in English what each function is supposed to do. Then code it.

even when coding vocalize what you are doing in comments. then code it.

The idea of classes help 'Work-Crystalization' idea

It will be nice to design classes such a way that MOST are testable through unit test cases

Provide test cases at those boundaries and that test should trickle down the lower classes and save you some time.