Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old June 17th 07, 04:32 AM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Dec 2006
Posts: 1,154
Default Antenna programming tool/language/compiler/preprocessor?

Tom Ring wrote:

...
our code (my "code" is probably 80% comments) and don't declare
(assuming they declare at all) our functions as void. Unless they
...
tom
K0TAR


I certainly would not go about bragging in that style, dead sign of lack
of structure/logic in the code leading to obfuscation and requiring
extraordinary effort of documentation ...

The comments in source are only meant for other programmers, they
already know how to program, you don't have to teach 'em, nor attempt to
impress them with your brilliance--if such is present--they'll know.

With the proper use of significant names for variables, structs,
defines, etc. and programming for a "logical flow" of code, few comments
are needed (approx. 10-20% comments should be more than sufficient--if
the source is structured and non-obfuscated.)

Krist, they pay me to engineer software, not write books ... (if
management had their way--they'd screw that up ...)

SIMPLIFIED EXAMPLE:
// call at any point to debug/check variables
(void) debug_printout_of_variables_used(float whip_self-capacitance_pf,
float coil_self-capacitance_pf,
float coil_inductance_uh,
...)
{
cout "Whip self capacitance (pf): " whip_self-capacitance_pf
endl;
cout ...
...
}

JS

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FA: 1-Day-Left: 3 Books: MICROPROCESSORS, ASSEMBLY LANGUAGE Programming, 8080, Z-80, Etc. David Equipment 0 April 19th 06 12:42 PM
PicBasic Pro Compiler Ver 2.43 tk Homebrew 0 October 12th 03 03:11 PM
PicBasic Pro Compiler Ver 2.43 tk Homebrew 0 October 12th 03 03:11 PM


All times are GMT +1. The time now is 11:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017