Site Info:
Home
Pronunciation
About-Contact
FAQ


Photos:
NIWeek 2002
Film Exchange
My Gallery

LabVIEW:
LabVIEWBlog
Downloads

External Links


Greece:
The Flag
National Anthem
Maps
Music
Food Recipes
External Links


Hangouts:

Sphaera Ephemeris
Photojunkie
OpenG
LAVA
LabVIEW Zone
mindsketches
CBC
mmWave Integ. Solutions
William Gibson
digital photo review
the mirror project
Mike Spanakis

Powered By:
Movabletype
Mojo Mail!
phpBB
Dreamweaver MX
Feature Price

LabVIEWBlog - Individual Entry


October 07, 2002
I hate flat code. Flat

I hate flat code. Flat meaning no sub-VI's. It looks messy, it is difficult to debug, it prevents multiple developers on one project, it hinders code reuse. Ahhh, to be able to decouple the front panel from the diagram, that is pure delight. You notice things like this when you open up other people's code. I had to do this today. The offender will remain unnamed, perhaps in a future post...
Don't create sub-vi's for sub-vi's sake, please. Try to bundle a specific functionality and God forbid, don't embed your globals into a subVI. The first level of sub-VI's are usually found on the diagram of a user-interface. This is the front line. The modularity of your code depends on what your application does, this needs to be defined. How will you break apart your functionality so it is easier to test and debug.

Posted by Michael Aivaliotis at October 7, 2002 10:39 PM

Comments



Post a comment...

















Archives by Category
Archives By Date
February 2003
January 2003
October 2002


check out my neighbors...
The Weather Here:
The WeatherPixie