Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Linugistics & COBOL design (was: Cobol AS/400 BNF Help Please
As someone with a college major in COBOL (and who worked on the COBOL Standa
rds
committee), I don't think there is any particular value in understanding how
"natural" languages work when designing (especially enhancing an existing)
programming or artificial language.

My memory (and I could be mistaken in this) is that Chuck (also from J4) eit
her
had a degree or a minor in linguistics.

Having said that, I can easily see how my background and interest in
"theoretical" (rather than historical, etc) linguistics related to my initia
l
interest in programming.

--
Bill Klein
wmklein <at> ix.netcom.com
"Robert Wagner" <robert.deletethis@wagner.net> wrote in message
news:40fc7805.29951463@news.optonline.net...
> epc8@juno.com (E P Chandler) wrote:
> 
> news:<nj4of0tsaulqu6u82e1o5qmikj2st9oopg@4ax.com>... 
>
> That's because BNF strongly prefers languages that are 'context-free'. It
> believes lexicon should do ALL the heavy lifting. Its ability to handle sy
ntax
> is very limited.
>
> This preference has influenced all languages designed after roughly 1970. 
It's
> the reason why C has '==' as a relational operator, for instance.
>
> <troll alert> It seems to me that 'language designers' should know somethi
ng
> about linguistics. Knowledge of logic is inadequate. When challenged to na
me a
> famous linguist, most language designing computer scientists can name Chom
sky
> and no others. When asked to name his seminal work, they cannot come up wi
th
> Syntactic Structures. When asked about Bloomfield or Wittgenstein, they return[/co
lor]
a
> blank look.
>
> "In the land of he blind, the one-eyed man is king."



Report this thread to moderator Post Follow-up to this message
Old Post
William M. Klein
07-20-04 08:55 AM


Re: Linugistics & COBOL design (was: Cobol AS/400 BNF Help Please
You and Chuck work on the only major programming language where context
(semantics) determines meaning. Your interest in linguistics supports my poi
nt.

COBOL is renouned for being easy to read. The reason is it's similarity to a
natural language, English. Don't you think that has value?


"William M. Klein" <wmklein@nospam.netcom.com> wrote:

>As someone with a college major in COBOL (and who worked on the COBOL Stand
ards
>committee), I don't think there is any particular value in understanding ho
w
>"natural" languages work when designing (especially enhancing an existing)
>programming or artificial language.
>
>My memory (and I could be mistaken in this) is that Chuck (also from J4) ei
ther
>had a degree or a minor in linguistics.
>
>Having said that, I can easily see how my background and interest in
>"theoretical" (rather than historical, etc) linguistics related to my initi
al
>interest in programming.
>
>--
>Bill Klein
> wmklein <at> ix.netcom.com
>"Robert Wagner" <robert.deletethis@wagner.net> wrote in message
>news:40fc7805.29951463@news.optonline.net... 
syntax 
It's 
a 
return
>a 
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Robert Wagner
07-20-04 01:55 PM


Re: Re: Linugistics & COBOL design (was: Cobol AS/400 BNF Help Please
As far as I know the only programing language actually designed by a linguis
t is perl.

Perl has many of the problems of a natural language (particulary English) a 
dependence on context, infering the the subject and object of a clause from 
context etc. etc.

It also rolls off the keyboard, and, well written perl is quite readable.

 FLAMEBAIT
Cobol on the other had I find problematic:

Badly written if statements can be totaly ambiguous.

A western reader's brain is hard wired to process periods in "firmware" - yo
u simply do not "see" them, which is why nearly every language since has pic
ked the semi-colon or something equaly big and obviuous as a statement termi
nator.

A sentence with lots of long words does not make good reading in English, an
d, a convulted Perform or Inspect with 30 character qualified field names ma
ke some COBOL programs harder to read then the small print in an insurance c
ontract.

 /FLAMEBAIT

Report this thread to moderator Post Follow-up to this message
Old Post
james8049
07-20-04 03:48 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:52 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.