I don't mind just organizing the code, looking at it; but the debug is get close, ready to Linux type hyrogliphics, and constantly look for the damned cursor. Software is a pain in the ass. I just want all the stuff in a machine, an all I need to do is type at it with balanced curly brackets. What gets me going is Git, the repository software. People who get what I am doing can go look, ad even if they don't steal the code, maybe it will indirectly get me more stuff to put in it, like a distributed hash index, or a Json ready execution unit, overloads is where the fun is.
I do component testing a lot, a special program with simple command line switches let me run a particular component, link to it. If you can't link to your modules separately, then problems get worse. Like the code above, I just connected into a simple main routine to feed triples to it, then discovered too many dependencies, that forces me to clean up the interface, that alone is worth the attempted test.
Like right there, I stepped through the sqlson to bson routine in a simple component tester. Don't care how complicated things are, I can just lay out a sqlson list in my little main routine, compile in a second and step through, no dependency with the machine. That is what the industry means when they say component testing in software. It makes all te difference.
Like I considered a small stream of buffers to flow from table to network, but decided malloc and remalloc are ok for now. But it only took me 20 minutes with a simple main routine and try it out, as a component. I have lots of components in the lab, the important ones are the one that do domething when we get match or unmatch or collect. Simple components, ready to go (just waiting for the syntax experts to give me a robust json query by example). Component testing leads to great utilities, like the jcon console. Test the json line edit, gets it a clean interface, and I can link to it with another network request component. A days work and I get jcon.
Then I get stuck in an Imagisoft day dream, a plotting scheming marketing mind. I love this industry!.
No comments:
Post a Comment