473,394 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

What is Expresiveness in a Computer Language?

What is Expresiveness in a Computer Language

20050207, Xah Lee.

In languages human or computer, there's a notion of expressiveness.

English for example, is very expressive in manifestation, witness all
the poetry and implications and allusions and connotations and
dictions. There are a myriad ways to say one thing, fuzzy and warm and
all. But when we look at what things it can say, its power of
expression with respect to meaning, or its efficiency or precision, we
find natural languages incapable.

These can be seen thru several means. A sure way is thru logic,
linguistics, and or what's called Philosophy of Languages. One can also
glean directly the incapacity and inadequacy of natural languages by
studying the artificial language lojban, where one realizes, not only
are natural languages incapable in precision and lacking in efficiency,
but simply a huge number of things are near impossible to express thru
them.

One thing commonly misunderstood in computing industry is the notion of
expressiveness. If a language has a vocabulary of (smile, laugh, grin,
giggle, chuckle, guffaw, cackle), then that language will not be as
expressive, as a language with just (severe, slight, laugh, cry). The
former is "expressive" in terms of nuance, where the latter is
expressive with respect to meaning.

Similarly, in computer languages, expressiveness is significant with
respect to semantics, not syntactical variation.

These two contrasting ideas can be easily seen thru Perl versus Python
languages, and as one specific example of their text pattern matching
capabilities.

Perl is a language of syntactical variegations. Python on the other
hand, does not even allow changes in code's indentation, but its
efficiency and power in expression, with respect to semantics,
showcases Perl's poverty in specification.

http://xahlee.org/perl-python/what_i...esiveness.html

© Copyright 2005 by Xah Lee.

Xah
xa*@xahlee.org
http://xahlee.org/

Nov 15 '05 #1
15 1299
I think u are wrong.. I think perl is much more exrpressive in
semantics than Python..

Nov 15 '05 #2
On Sun, 10 Jul 2005 07:20:34 -0700, raptor wrote:
I think u are wrong.. I think perl is much more exrpressive in
semantics than Python..


Well, with such great command of natural language as you are displaying,
how could anyone argue with your conclusion?

--
Steven.

Nov 15 '05 #3
On 10 Jul 2005 02:57:04 -0700, "Xah Lee" <xa*@xahlee.org> wrote:
Similarly, in computer languages, expressiveness is significant with
respect to semantics, not syntactical variation.

It may just be me, but I tend to think of a computer language as a
tool for directing computers to perform specific actions. Do we talk
about the expressiveness of a spade?

There's a similar concept in the 'possible uses' of a tool (a spade is
an excellent tool for digging the garden, but you wouldn't use it to
clean your teeth; you *could* use a toothbrush to dig the garden, but
you wouldn't if a spade was available). Similarly with computer
languages - some are better for certain tasks than others, but I don't
think 'expressiveness' is the way to describe that.

Pete Barrett
Nov 15 '05 #4
Xah Lee wrote:
What is Expresiveness in a Computer Language[...]


Just for the records at Google et.al. in case someone stumbles across Xah's
masterpieces in the future:
Xah is very well known as the resident troll in many NGs and his
'contributions' are less then useless.

Best is to just ignore him.

But for heaven's sake unless you want to embarrass yourself really badly
don't take any of his postings serious because he has proven again and again
that he has no clue whatsoever about computer science or programming.

jue
Nov 15 '05 #5
"Xah Lee" <xa*@xahlee.org> writes:
What is Expresiveness in a Computer Language

20050207, Xah Lee.


+-------------------+ .:\:\:/:/:.
| PLEASE DO NOT | :.:\:\:/:/:.:
| FEED THE TROLLS | :=.' - - '.=:
| | '=(\ 9 9 /)='
| Thank you, | ( (_) )
| Management | /`-vvv-'\
+-------------------+ / \
| | @@@ / /|,,,,,|\ \
| | @@@ /_// /^\ \\_\
@x@@x@ | | |/ WW( ( ) )WW
\||||/ | | \| __\,,\ /,,/__
\||/ | | | jgs (______Y______)
/\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
================================================== ============

--
Keith Thompson (The_Other_Keith) ks***@mib.org <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.
Nov 15 '05 #6
In article <a1********************************@4ax.com>,
Pete Barrett <pe*********@beeb.net> wrote:
On 10 Jul 2005 02:57:04 -0700, "Xah Lee" <xa*@xahlee.org> wrote:
Similarly, in computer languages, expressiveness is significant with
respect to semantics, not syntactical variation.

It may just be me, but I tend to think of a computer language as a
tool for directing computers to perform specific actions. Do we talk
about the expressiveness of a spade?


Most people think of natural language as "a tool for directing people to
perform specific actions" and have as much need for anything beyond that as
you seem to have.

Luckily, some people (writers, artists) are able to do more with natural
language than boss people around. But make no mistake, that is its primary
purpose.

Nov 15 '05 #7
Steven D'Aprano <st***@REMOVETHIScyber.com.au> writes:
On Sun, 10 Jul 2005 07:20:34 -0700, raptor wrote:
I think u are wrong.. I think perl is much more exrpressive in
semantics than Python..


Well, with such great command of natural language as you are displaying,
how could anyone argue with your conclusion?


Folks, Xah Lee is a known troll.. don't get into any arguments among
yourselves over anything that person writes.

mkb.
Nov 15 '05 #8
[Peter Barret wrote:]
It may just be me, but I tend to think of a computer language as a
tool for directing computers to perform specific actions. Do we talk
about the expressiveness of a spade?


yes, it is just you. :-)

Your comparison is a very poor match. How can you even begin to
compare a hammer or a screwdriver with a computer language?

A more apt comparison would be a Roman general with his spade directing
his troops to attack. Some generals have more expresiveness than
others. The barbar generals will just grunt while the French generals
will inspire with some poetic invocation.

-Ramon

Nov 15 '05 #9
Keith Thompson wrote
(in article <ln************@nuthaus.mib.org>):

\||||/ | | \| __\,,\ /,,/__
\||/ | | | jgs (______Y______)
/\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
================================================== ============


Out of curiosity, does anyone remember who 'jgs' refers to
above?
--
Randy Howard (2reply remove FOOBAR)

Nov 15 '05 #10
Randy Howard wrote:
Out of curiosity, does anyone remember who 'jgs' refers to
above?


A Google search for "ascii art jgs" shows it's Joan Stark.

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
The decree is the Sultan's; the mountains are ours.
-- Dadaloglu
Nov 15 '05 #11
Randy Howard wrote:
Keith Thompson wrote
(in article <ln************@nuthaus.mib.org>):

\||||/ | | \| __\,,\ /,,/__
\||/ | | | jgs (______Y______)
/\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
================================================== ============


Out of curiosity, does anyone remember who 'jgs' refers to
above?


Joan "Spunk" Stark, the author of quite a bit of ascii art, consult
google for examples.

Robert Gamble

Nov 15 '05 #12
> The barbar generals will just grunt while the French generals
will inspire with some poetic invocation.


For auction:
One authentic French army-issued rifle.
Only dropped once.

--Paul
Nov 15 '05 #13
Paul Bilnoski wrote:
The barbar generals will just grunt while the French generals
will inspire with some poetic invocation.


For auction:
One authentic French army-issued rifle. Only dropped once.


What has that got to do with the king of the elephants?

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson

Nov 15 '05 #14


Randy Howard wrote:
Keith Thompson wrote
(in article <ln************@nuthaus.mib.org>):

\||||/ | | \| __\,,\ /,,/__
\||/ | | | jgs (______Y______)
/\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
================================================== ============


Out of curiosity, does anyone remember who 'jgs' refers to
above?

http://en.wikipedia.org/wiki/Joan_Stark

Brian

Nov 15 '05 #15
Most participants in the computering industry should benefit in reading
this essay:

George Orwell's “Politics and the English Language”, 1946.
Annotated:

http://xahlee.org/p/george_orwell_english.html

Xah
xa*@xahlee.org
http://xahlee.org/

Nov 15 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
226
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type...
5
by: Marian | last post by:
Hi, I am totaly novice in .NET and I am studying a book about this. There was mentioned "assembly". I did not understand, how function does it has . I would like to know the exact run of code...
24
by: Xah Lee | last post by:
What is Expresiveness in a Computer Language 20050207, Xah Lee. In languages human or computer, there's a notion of expressiveness. English for example, is very expressive in manifestation,...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
5
by: John Creighton | last post by:
What does BCPL stand for is it one language or a family of languages. My bust guess it the B C Programming Languages. But that is just a short in the dark. I am also not sure what languages fall...
41
by: Mountain Bikn' Guy | last post by:
What is the current preferred way to save user preferences in dotnet? Is the registry the right place to do this? Can anyone recommend a good article (or book) for this topic? Thanks.
23
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.