Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

The Semicolon Wars as a software industry and human condition

Thread view: 
Xah Lee - 17 Aug 2006 14:42 GMT
Of interest:

• The Semicolon Wars, by Brian Hayes. 2006.
http://www.americanscientist.org/template/AssetDetail/assetid/51982

in conjunction to this article, i recommend:

• Software Needs Philosophers, by Steve Yegge, 2006
http://xahlee.org/Periodic_dosage_dir/_p/software_phil.html

• What Languages to Hate, Xah Lee, 2002
http://xahlee.org/UnixResource_dir/writ/language_to_hate.html

 Xah
 xah@xahlee.org
http://xahlee.org/
DJ Stunks - 17 Aug 2006 15:22 GMT
> Of interest:
>
[quoted text clipped - 8 lines]
> · What Languages to Hate, Xah Lee, 2002
> http://xahlee.org/UnixResource_dir/writ/language_to_hate.html

speak of the devil...

-jp
jmckitrick - 17 Aug 2006 15:41 GMT
What's more of a waste of time:

1.  The 30 minutes he took to write his vacuous essay.
2.  The 15 seconds it took to skim it and see nothing worth reading.
3.  The 30 seconds it took to write this post.

Tough call.
Iain King - 17 Aug 2006 16:19 GMT
> Of interest:
>
[quoted text clipped - 12 lines]
>   xah@xahlee.org
> ∑ http://xahlee.org/

I'm confused - I thought Xah Lee loved Perl?  Now he's bashing it?
Huh?

Iain
Jürgen Exner - 17 Aug 2006 16:22 GMT
>> Of interest:
>>
[quoted text clipped - 14 lines]
>
> I'm confused - I thought Xah Lee loved Perl?  Now he's bashing it?

He only loves himself.
Aside of that:

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

jue
Greg R. Broderick - 18 Aug 2006 04:41 GMT
"Iain King" <iainking@gmail.com> wrote in news:1155827943.041208.51220
@i3g2000cwc.googlegroups.com:

> I'm confused - I thought Xah Lee loved Perl?  Now he's bashing it?
> Huh?

That's his other personality.

Signature

---------------------------------------------------------------------
Greg R. Broderick            gregb.usenet200607@blackholio.dyndns.org

A. Top posters.
Q. What is the most annoying thing on Usenet?
---------------------------------------------------------------------

Ken Tilton - 17 Aug 2006 17:06 GMT
> • What Languages to Hate, Xah Lee, 2002
> http://xahlee.org/UnixResource_dir/writ/language_to_hate.html

Nonsense. This is technology, not religion. Technologists in fact have a
responsibility to identify and use the best tools available.

Xah, you are getting soft in your old age. :)

hth, kenny

Signature

Cells: http://common-lisp.net/project/cells/

"I'll say I'm losing my grip, and it feels terrific."
   -- Smiling husband to scowling wife, New Yorker cartoon

Philippe Martin - 17 Aug 2006 23:21 GMT
>>It was philosophers that got us out of that Dark Ages mess, and no small
>>number of them lost their lives in doing so. And today, the philosophy
>>majors are the butts of the most jokes, because after the philosophers
>>succeeded in opening our minds, we forgot why we needed them.

Look east Xah, we're still in the "Dark Ages mess".
Michele Dondi - 18 Aug 2006 21:40 GMT
>Of interest:
>
>• The Semicolon Wars, by Brian Hayes. 2006.
> http://www.americanscientist.org/template/AssetDetail/assetid/51982
[snip]
>• What Languages to Hate, Xah Lee, 2002
>http://xahlee.org/UnixResource_dir/writ/language_to_hate.html

Cool! From the former:

: Today's missionaries take an upbeat approach, spending more time in promoting their own religion and less in dissing the other person's beliefs. The message is no longer "You'll burn in hell if you write C." It's "Look what a paradise Python offers you!" (I think maybe I liked the old sermons better.)

Michele
Signature

{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,

Xah Lee - 21 Aug 2006 05:49 GMT
can anyone give me a guide about writing a short elisp function? (for
non-emacs readers, this message will describe a editor feature i think
will be very beneficial to spread this concept.)

i want to write a function such that, when run, highlight a region
between the nearest left and right delimiters. Delimiters are any of
parenthesis, square brackets, or single and double quotes etc. When the
function is run again, it extends the selection to the next enclosing
delimiters.

So, in this way, a user can repeatedly press a keyboard shortcut and
extend the selection.

This is feature of BBEdit/TextWrangler on the Mac, which extend
selection to the nearest outer parenthesis. This is also a feature of
the Mathematica editor, which actually extend selection to the nearest
syntactical unit in the language, not just paired delimiters.

What i wanted this for is mostly in editing HTML/XML, where one press
can select the content, another press will include the enclosing tags,
another press extends the selection to the next outer content, and
another press include that tags too, and so on.

I'm a elisp newbie. Here's a simple code i have so far:

(defun d ()
    "extend selection to nearest enclosing delimiters"
    (interactive)
 (skip-chars-backward "^<>()“”{}[]")
 (push-mark)
 (skip-chars-forward "^<>()“”{}[]")
 (exchange-point-and-mark 1)
)

... i think i have quite a lot to go... I think this would be a great
feature for any mode, where the a keypress will highlight more
syntactical units in any language's mode. For example, suppose in
C-like language:

function f (arg1, arg2) {
line1;
line2;
}

if the cursor is at arg1, then first press will highlight the content
of the args, another press includes the parens, another press will
include the whole function. If the cursor is at line1, then it selects
that word in the line, then the line, then the whole function def body,
then including {}, then the whole function... etc in many languages.

For a xml language example, suppose we have this RSS/Atom example:

<entry>
 <title>Gulliver's Travels</title>
 <id>tag:xahlee.org,2006-08-21:030437</id>
 <updated>2006-08-20T20:04:41-07:00</updated>
 <summary>Annotated a chapter of Gulliver's Travels</summary>
 <link rel="alternate" href="../p/Gullivers_Travels/gt3ch05.html"/>
</entry>

If the cursor is inside a tag's enclosing content, say, on the T in
Gulliver's Travels inside the <title> tag, then the repeated extension
is obvious. But however, suppose the cursor is at t in the
“alternate” inside the “link” tag, then it would first select
the whole “alternate” word, then the whole “rel="alternate"”,
then the whole link tag, then the whole content of the entry tag, then
including the “<entry>” tags itself.

(in short, the selection extends according to the language's syntax
tree)

 Xah
 xah@xahlee.org
http://xahlee.org/
John Bokma - 21 Aug 2006 06:34 GMT
Let's see how fast we can drop you from another hosting provider :-D.

Signature

John                Experienced Perl programmer: http://castleamber.com/

         Perl help, tutorials, and examples: http://johnbokma.com/perl/

xahlee@gmail.com - 02 Sep 2006 09:42 GMT
While reading on the emacs manual on the chapter about Mark
(http://www.gnu.org/software/emacs/manual/html_node/Mark.html), in a
process of writing some elisp function... i realized that the Transient
Mark Mode, which i've been using for the past couple of years, entails
more than just appearance.

Basically, since emacs always have a mark once it is set, and in fact
keeps a record of marks, thus there is always a region (from the last
mark to the cursor's position). And if a region is to be highlighted,
this would create a highlighted section at all times, and is annoying
and is not what most editors do.

The bottom line is that to implement transient mark mode, another
concept comes into play: active/inactive state of the region. Emacs
functions that work on region must change their behavior with this
concept in mind (when Transient Mark Mode is on).

The point i want to bring here is that, this is getting complex. We
already have the CUV mode, now the Transient Mark Mode (which is off by
default), and i also note there's delete-selection-mode, all of these
compatibility modes in effort to make emacs more inline with modern
software user interface conventions and expectations also add
complication to emacs.

I would very much suggest, that emacs from now on by default turn on
the CUV mode, Transient Mark Mode, and delete-selection-mode by
DEFAULT, and in emacs's documentation reduce the importance of these
old-fashioned state of these modes.

... i would write a full detailed account on the reasons and choices
for emacs modernization another day... but basically, software must
change with time. Technical superiority is almost never the main cause
of a software's survivability. (e.g. far numerous technical superior
technologies have foundered in the history of software industry)
Emacs's various ways of user interface, although have strong followers,
but it is questionable that itself is truly a superior user interface.
On the other hand, the simple fact that all major software have adopted
the same user interface is a strong reason to adopt this change. (and,
make these changes by default does not jeopardize emacs's older ways.)

Some other major points about modernization of emacs is archived here:
http://xahlee.org/emacs/modernization.html

The springing up of things like Eclipse and its huge following, just
indicates that there's something wrong at least in practice, with the
concept that emacs is the all powerful editor as people are made to
believe. (and emacsers themselves like to believe)

 Xah
 xah@xahlee.org
http://xahlee.org/
Pascal Bourguignon - 02 Sep 2006 15:29 GMT
> [...]
> The point i want to bring here is that, this is getting complex. We
[quoted text clipped - 4 lines]
> complication to emacs.
> [...]

Xah Lee, the Most UnZen Netizen.

Signature

__Pascal Bourguignon__                     http://www.informatimago.com/

Nobody can fix the economy.  Nobody can be trusted with their finger
on the button.  Nobody's perfect.  VOTE FOR NOBODY.

Xavier Maillard - 02 Sep 2006 18:45 GMT
>   Xah

Are you the same than[1] ?

Footnotes:
[1]  http://www.emacswiki.org/cgi-bin/wiki/KickbanXahLeeFromEmacsChannel

Signature

Xavier



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.