Re: Multiple Statements per Line
- From: "Jim Carlock" <anonymous@xxxxxxxxx>
- Date: Fri, 07 Apr 2006 23:08:56 GMT
<randyhyde@xxxxxxxxxxxxx> wrote:
Actually, *most* people read faster, and with better comprehension,
when working with short lines (though this is not an argument for
manually insert line breaks everywhere; almost any decent newsreader
is going to allow someone to adjust the width to their liking).
Allow me to give an example. The editor I personally prefer (Borland's
CodeWright) allows me to insert JPEG and other images directly into
my source file (as comments) and display those in the editor. This is a
really cool feature for documenting the program. Alas, only CodeWright
owners can take advantage of this facility. So I don't use it because
other people who don't own CodeWright can't see my nice diagrams.
HTML and notepad provides the same thing, although better HTML
editors exist. SciTE (the Scintilla editor) http://www.scintilla.org/ or
http://sourceforge.net/projects/scintilla/ is a wonderful editor for a variety
of languages. SciTE uses plain-text Property sheets for each language
(based upon the file exension, .c, .asm, .php, .htm, et al). Really nice
editor in my book. Versions for both Unix and Windows.
HTML encoding isn't all that hard to work with. Just have to know some
HTML tags to get it done properly (pretty easy for the English speaking
world, but people of other languages might find it slightly more cryptic).
JGCASEY wrote:
One thing I never liked about C and the other languages that use
the curly brackets { and } is that visually the blocks of code did
not pop out for me without practice and even today some effort
despite indentation.
Or maybe I am just visually handicapped in some way
which is why I have a problem with multiple statements
per line?
Maybe it's the particular editor and font used ? I don't mind reading
C code in a proper editor where the tabs are set to 2 characters
and provided the lines aren't very long.
I have difficulties switching between languages. But that's an issue
I've been dealing with all my life. I took two years of German and
had problems learning the language but I did okay in the class and
passed. When I decided to take Spanish though, I realized I knew
more German than I previously thought and when someone sayeth
something in Spanish, all of a sudden, "Ich spreche Deutsch." Really
weird. After messing with VB for a long time, I broke VB habits,
I started writing in PHP, and when I went back to VB it started
coming out in PHP.
I'm sure that's just me. Hard to teach an old dog new tricks.
I like a syntax that means something to me, and the ONLY way to
get out of any routine involves working out new routines and while
it requires a tremendous amount of effort, I find I can accomplish
this sometimes. I have a hard time with Regular Expressions and
PERL because they literally are whole knew languages and use alot
of symbolics (well at least the Regular Expression syntax is).
Anyways, in Randy's case, I think HTML achieves the pictures
and such, as well as provides probably the most universal access
to a widest variety of content, not only pictures, but videos, audio,
and maybe one day we'll get an HTML encoding which can emit
a fart in the direction of the people we don't like.
Hope this helps.
Jim Carlock
Post replies to the group.
.
- Follow-Ups:
- Re: Multiple Statements per Line
- From: Jim Carlock
- Re: Multiple Statements per Line
- From: JGCASEY
- Re: Multiple Statements per Line
- References:
- Multiple Statements per Line
- From: randyhyde@xxxxxxxxxxxxx
- Re: Multiple Statements per Line
- From: JGCASEY
- Re: Multiple Statements per Line
- From: randyhyde@xxxxxxxxxxxxx
- Multiple Statements per Line
- Prev by Date: Re: Multiple Statements per Line
- Next by Date: Re: Multiple Statements per Line
- Previous by thread: Re: Multiple Statements per Line
- Next by thread: Re: Multiple Statements per Line
- Index(es):