LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2010, 01:56 PM   #16
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454

Quote:
Originally Posted by Another Kevin View Post
I started replying to the screeds that Tcl is objectively bad, but decided that the posting was getting far too long for the forum, and dropped it over at http://dftscript.blogspot.com/2010/0...different.html instead.

The elevator-speech summary of the posting might be, "I happen to like Tcl, because it suits the way I think. If you find it unfit for purpose, I'd be happy to recommend other languages that I also use. Don't go calling it 'objectively bad' without data to support your claims."
You mention "objectively bad" in your blog, and the words belong to me. But I said TCL was objectively bad not for the reasons you stated:

Quote:
Last night, a colleague pointed me to a thread on linuxquestions.org that begins with a misunderstanding of how data are interpreted in Tcl, and diverts into a screed that Tcl is "objectively bad."

Fundamentally, the original misunderstanding appears to be one of notation. The original poster complains how Tcl is 'clumsy in dealing with binary data.'
I'm saying it is bad because it a true source code interpreter.

...

You further quote me:


Quote:
Well, TCL is an objectively bad language because it is (used to be ?) a true source code interpreter. So, syntax errors are not found until containing them code is executed.

For example, in VLSI synthesis may take several days, and it's quite a pity if the whole process ultimately fails because of a silly syntax error at the script end.

That's why static TCL checkers have been invented ...


"Objectively bad?" Oh, my.

Given that static Tcl checkers like Nagelfar do exist, most of that poster's screed can be reduced to a complaint that Tcl doesn't force you to use them
No, I'm saying TCL is bad by design. I.e. make that static checker part of the process - like in Perl/Python/Ruby. For that matter, Matlab/Octave/Scilab languages are bad by design too. Because they are true interpreters.

...

If we are talking about strongly typed vs dynamically typed languages - both TCL and Perl 5 are bad by design. Because they do not offer a choice (well, in Perl 5 there are attributes which can be used to imitate type checking at runtime).

For that matter if/when Perl 6 is out, it will be a better choice, because it offers a choice, i.e. the programmer can declare a variable as typeless or typed.
 
Old 05-09-2010, 07:27 AM   #17
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by Another Kevin
I started replying to the screeds that Tcl is objectively bad, but decided that the posting was getting far too long for the forum
I don't think the blog you wrote was too long, as far as I know the limitations on length of the post are rather relaxed. The disadvantage is that people reading your blog do not read the entire discussion but only your point of view unless they click on the link to read this post. Many don't.

Quote:
Originally Posted by Another Kevin
And so the original poster's question could be easily dismissed as "not understanding the language"
I re-read my first post in this thread and if I am not mistaken I gave a full and detailed explanation what worked, what not and why not, including the typical behaviour of TCL to treat everything as a string. Where exactly is that lack of understanding?

Quote:
Originally Posted by Another Kevin
- were it not for the somewhat vitriolic posts that followed.
Although Sergei disagrees with me -and you- about the quality of TCL his post was simply a decent and well argumented statement. I would not call his post vitriolic in any way.

jlinkels
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary Operator Expected error in Shell Script mangatmodi Programming 9 10-25-2009 01:36 AM
TCL compiler to binary. Neuzen Programming 2 02-22-2009 06:03 AM
Binary operator expected - error mike9287 Linux - Newbie 9 07-17-2006 08:27 AM
shell script provides an error that a binary operator is required max_rsr Linux - General 1 03-12-2005 08:26 AM
tcl , tix, tk and BLT24 in one binary? devershetty Linux - Newbie 1 08-18-2003 09:23 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration