Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > The Harm of hard-wrapping Lines

Reply
Thread Tools

The Harm of hard-wrapping Lines

 
 
Xah Lee
Guest
Posts: n/a
 
      04-26-2005
The Harm of hard-wrapping Lines

20050222

Computing Folks of the industry:

please spread the debunking of the truncating line business of the
****ing unix-loving ****heads, as outlines here:
http://xahlee.org/UnixResource_dir/w...cate_line.html

if this myth-debunking is known widely enough, there wouldn't be any
more line truncating business.

emacs community has always been a thinking community as opposed to the
unix criminals. However by historical happenstance, the emacs of GNU's
Not Unix is essentially a program for unixes, so unavoidable it has to
deal with and inherit some of the ill shits of unix, if for nothing
but to be practical.

However, as of today, emacs don't really have reason to have
arrow-down behavior to be dependent on the hard-coded line wraps. I
want the next emacs version's down-arrow behavior to be fixed. (and
optionally as another mode to move by EOL.)

The reason for this change is easy. For those habituated with hard
wrapped lines, this would cause no difference. However, for those who
have lines that return at logical places, this would be an
improvement. (This is the intuitive way, and all non-geek editors
behave this way, even most editors or IDEs designed for programing.)

The need in this change is significant. By the current behavior of
down-arrow by EOL char, it discourages logical line breaking,
encourages hard-coded line breaking, and engenders the huge and
wide-spread problems as a consequence (as partially detailed in the
url given above): Programs posted online are broken, the who-said-what
quoting systems are a mess to process and comprehend, and needless
complex programs that processes and re-process the hard-wrapped
lines... And also it seeds the bad notions by creation of a generation
of imperative languages based on hard-line wraps (e.g. many
languages's line comment; and cannot be nested), and the misleading
and harmful habituation in IT of sizing software by
EOL-counting. (both of these are hindrances to functional programing.)

Further, in programing there's large chapters and energy spent on
what's called "coding style", which refers to the petty issue of when
and how to press a return so the lines all jag in some uniform
way. This ubiquitous "coding style" activity is helped by the
hard-wrap habit of thinking, which created these EOL-centric language
syntaxes in the first place.

(
When coding in a programing language, the programer should never have
to enter returns for the sake of display-formatting. The language's
syntax and the editor should be able to display the code well on the
fly by a simple parsing. Some 90% of EOL in codes today are there
manually entered by programer that does not serve any function other
than hard-coded pretty-printing.
(as oppose to the sometimes a intentional return to make a point in
the code, either as logical break, or emphasizing a section.)

And as a consequence of these EOL-centric languages is that attention
are put on code by the lines, instead of functional or logical
units. For example, comments tends to be based on lines of code, as
opposed to on a functional unit or algorithm. Boolean clauses inside
IF clause each span a line, as opposed to being together as a
predicate unit.
(which smother new developments of such predicate unit in language
syntax or semantics)
IF blocks almost always span multiple lines, as opposed to the idea of
coherent unit of “if PREDICATE do BLOCK”.
(and such EOL-centric code tends to engender practices such as
calling and setting global variables here and there inside code
blocks).
Temporary variables occupy a line by themselves, as oppose to tucked
inconspicuously inside its functional unit...etc and so on.
(a example of a language that is not EOL-centric is Mathematica,
which displays the code with sensible justification, all done
automatically behind the scenes, just as a word processor is to
writing.
(and the language happens also to display typeset mathematics on the
fly.)
Similar mileu are in LISP languages, but they did not push this idea
further.
(That is to say, in LISP communities, they on occasion still do and
talk about the petty issues of manual return-pressing, even their
languages are potentially immune to the hard-wrap problems.
)
)
)

I hope the above is some elucidation on the hard-wrap and
line-truncation business. Please spread the info.

---------
This email is archived at
http://xahlee.org/UnixResource_dir/writ/hard-wrap.html

Xah

http://xahlee.org/

 
Reply With Quote
 
 
 
 
jacob navia
Guest
Posts: n/a
 
      04-26-2005
Xah Lee wrote:
> The Harm of hard-wrapping Lines
>
> 20050222
>
> Computing Folks of the industry:
>
> please spread the debunking of the truncating line business of the
> ****ing unix-loving ****heads, as outlines here:
> http://xahlee.org/UnixResource_dir/w...cate_line.html
>


What I find *really* funny is that document is formatted.... using
at most 80 columns

 
Reply With Quote
 
 
 
 
Keith Thompson
Guest
Posts: n/a
 
      04-27-2005
"Xah Lee" <> writes:
> The Harm of hard-wrapping Lines
>
> 20050222
>
> Computing Folks of the industry:
>
> please spread the debunking of the truncating line business of the
> ****ing unix-loving ****heads, as outlines here:

[snip]

Thank you for putting the abusive language near the top of your post,
so we know right away to ignore anything else you might have to say.

Note followups.

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
Reply With Quote
 
Raymond Wiker
Guest
Posts: n/a
 
      04-27-2005
Keith Thompson <kst-> writes:

> "Xah Lee" <> writes:
>> The Harm of hard-wrapping Lines
>>
>> 20050222
>>
>> Computing Folks of the industry:
>>
>> please spread the debunking of the truncating line business of the
>> ****ing unix-loving ****heads, as outlines here:

> [snip]
>
> Thank you for putting the abusive language near the top of your post,
> so we know right away to ignore anything else you might have to say.
>
> Note followups.


You don't even have to read the top of the message;
'From: "Xah Leeh"' is enough to flag the message as ignorable.

--
Raymond Wiker Mail:
Senior Software Engineer Web: http://www.fast.no/
Fast Search & Transfer ASA Phone: +47 23 01 11 60
P.O. Box 1677 Vika Fax: +47 35 54 87 99
NO-0120 Oslo, NORWAY Mob: +47 48 01 11 60
 
Reply With Quote
 
Garry Hodgson
Guest
Posts: n/a
 
      04-27-2005
Raymond Wiker <> wrote:

> You don't even have to read the top of the message;
> 'From: "Xah Leeh"' is enough to flag the message as ignorable.


you can optimize by putting this in your spam filter.


----
Garry Hodgson, Technical Consultant, AT&T Labs

Your love, your anger, your kindness, your hate.
All of it creates the future for you and your children.
What kind of future are you creating today?
 
Reply With Quote
 
Forrest Black
Guest
Posts: n/a
 
      04-27-2005
jacob navia wrote:

> Xah Lee wrote:
>
>> The Harm of hard-wrapping Lines


> What I find *really* funny is that document is formatted.... using
> at most 80 columns


I find Xah Lee offensive and just plain stupid. What is this doing in
comp.lang groups?

Blargh.
 
Reply With Quote
 
Martin Ambuhl
Guest
Posts: n/a
 
      04-27-2005
Forrest Black wrote:

> I find Xah Lee offensive and just plain stupid. What is this doing in
> comp.lang groups?


Why does he post Chinese poetry (in Chinese characters) to English usage
newsgroups?
 
Reply With Quote
 
Chris McDonald
Guest
Posts: n/a
 
      04-27-2005
Martin Ambuhl <> writes:

>Why does he post Chinese poetry (in Chinese characters) to English usage
>newsgroups?



Why do you believe that these newsgroups are restricted to English?
From where comes the restriction? (and it obviously doesn't work).

--
Chris.
 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      04-27-2005
On Wed, 27 Apr 2005 22:38:24 +0000 (UTC), in comp.lang.c , Chris
McDonald <> wrote:

>Martin Ambuhl <> writes:
>
>>Why does he post Chinese poetry (in Chinese characters) to English usage
>>newsgroups?

>
>
>Why do you believe that these newsgroups are restricted to English?
>From where comes the restriction? (and it obviously doesn't work).


by convention, groups not prefixed with a national identifier such as
de, fr, etc are considered to be english language groups unless their
charter states otherwise. As with any unmoderated group, there's
nothing to enforce this except common sense.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Walter Roberson
Guest
Posts: n/a
 
      04-27-2005
In article <>,
Mark McIntyre <> wrote:
>by convention, groups not prefixed with a national identifier such as
>de, fr, etc are considered to be english language groups unless their
>charter states otherwise. As with any unmoderated group, there's
>nothing to enforce this except common sense.


I use a completely different convention. My convention is this:

If someone posts in a language other than English in a
newsgroup that is not specifically chartered for English, then
that person is restricting the number of people who are likely
to have the time and knowledge to answer them. One might advise
them of this, but one should otherwise leave them alone [unless
one can answer.]

The situation is no different than if you are in a bus/ train/
airplane and nearby people start talking in another language.
If they aren't obviously trying to include you, then
they aren't talking to you. Which is fine, considering that
most threads pretty quickly turn into one person talking to
another person without a care as to whether anyone else is
paying attention.
--
Oh, to be a Blobel!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some files can harm your computer message for ASP.NET page. Alex Shefer ASP .Net 2 01-26-2005 10:03 AM
Can corrupt disc harm standalone player? bernard spilman DVD Video 2 07-12-2004 07:59 PM
Can the AC Adapter (65Watts) Harm My 40 Watts Cisco2522-Dc router ConceptZone Cisco 5 02-23-2004 11:03 PM
harm from airport scanners? Bill Johnson Digital Photography 9 11-04-2003 08:31 PM
Regsvr32.exe /i shdocvw.dll ran for IE6 - any potential harm ? Michael Computer Support 2 09-04-2003 09:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57