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 08-08-2011, 02:05 PM   #76
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406

i'd have to say ti-basic because you have to enter commands using a menu driven interface that gets horribly tedious after a while.
 
Old 08-08-2011, 03:20 PM   #77
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Quote:
Originally Posted by jcmlq View Post
Hah. No my real ire is reserved for every network equipment vendor who saw cisco ios and said "I want to do that, but poorly". Or every software vendor who every got shell envy and made up a language to control their software, only they don't bother to apply any of the lessons learned in the last 40 or so years that shells have been developed.
Maybe it's more "I want to do that, but cisco won't let me"? I agree there are a lot of garbage programatic user interfaces out there.

I wonder what options there are when the initial intention isn't to create a shell, though. I've found myself inching toward a scripting language from what started as an extremely simple config format. The mere addition of run-time parameter substitution and conditionally ignoring config lines took it from a simple config format to a horrendous scripting format. Had it been other than a one-off system I'm sure there would have been demand for control structures at that point, then I would have been screwed. It was a unique scientific application I wrote to work with a specific set of data, so the specifics are a bit complicated to explain.
Kevin Barry
 
Old 08-08-2011, 05:24 PM   #78
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by ta0kira View Post
took it from a simple config format to a horrendous scripting format
Keep it going. Soon you'll have something convoluted enough to compete with Perl (I am a Perl user).

I'm sure what you say is true of a good many languages, and other software in general. How many of us have written little bits of code for our own selfish purposes, and suddenly it morphed out of control as some mission-critical element that can't be fixed because everything around it would break?

--- rod.
 
Old 10-27-2011, 08:03 PM   #79
Juako
Member
 
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
Quote:
Originally Posted by jcmlq View Post
Any time someone invents their own command language for a product it's the worst thing ever.

Except when they try to extend their half-finished, irregular, no error handling having, spiteful, evil piece of software - because that usually winds up being even worse.
Word up. Example: try to develop in Mikrotik RouterOS scripting language.

And to think it's Linux in the guts there, but the UIs can't be removed
 
Old 11-06-2011, 11:53 AM   #80
cheesus
Member
 
Registered: Jan 2005
Location: Munich, Germany
Distribution: SuSE
Posts: 186

Rep: Reputation: 25
as far as I can remember the horror, in cobol you could do
Code:
MULTIPLY variable BY 2.
How could it get more stupid?
Well, maybe POLITE-COBOL
Code:
DEAR COMPUTER PLEASE MULTIPLY variable BY 2 IF YOU FIND THE TIME.
 
Old 11-06-2011, 01:21 PM   #81
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
The worst ones I've used are FORTRAN77 (from 90 on it wasnt so bad, but 77 is Satan), and Perl.
 
Old 11-06-2011, 01:25 PM   #82
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello suicidaleggroll,
Quote:
Originally Posted by suicidaleggroll View Post
... Perl.
could you explain that? if Perl is your "Worst Language Ever", which one do you prefer and why don't you like Perl?

Markus
 
Old 11-06-2011, 01:44 PM   #83
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Because its next to impossible for somebody who's not an expert in Perl to be able to read and understand anything that's been written. Perl code is such an incoherent mess of symbols that nobody knows what's going on. There isn't a single other language that I've opened some source and exclaimed out loud "what the hell does that line mean?", which seems to be every other line in Perl. You could smack your head on the keyboard and end up with a valid command.

A program written in any language should at least be readable by somebody familiar with programming who isn't an expert in that specific language.

Even after learning Perl (somewhat), I still find myself piecing together strings of 40 random symbols to do something, and 2 days later I have no idea how it works and have to spend half an hour figuring it out.
 
Old 11-06-2011, 01:49 PM   #84
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, you're right. The disadvantage of Perl is that you can't read your own code after some weeks if you're not an expert.

Otherwise, Perl is very powerful, and I'm happy that I've learned it, it's often very helpful for me.

Markus
 
Old 11-06-2011, 02:06 PM   #85
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by markush View Post
Well, you're right. The disadvantage of Perl is that you can't read your own code after some weeks if you're not an expert.

Otherwise, Perl is very powerful, and I'm happy that I've learned it, it's often very helpful for me.

Markus
Honestly, if you can't read your own code, then there might be a problem
 
Old 11-06-2011, 02:10 PM   #86
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Honestly, if you can't read your own code, then there might be a problem
Yes, as I wrote, this is a problem

When I don't program with Perl for some month (or years, I've started with Perl back in 1994) then I have difficulties to read the code, even my own code.

But the language is worth the trouble.

Markus
 
Old 11-06-2011, 02:16 PM   #87
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by suicidaleggroll View Post
A program written in any language should at least be readable by somebody familiar with programming who isn't an expert in that specific language.
That was one of the design goals for COBOL, and someone has already posted an example of how that turned out. I think that too often, how good a programming language or other software tool is, is evaluated solely on how easy it is to start being productive when starting from point zero. The longer term view of how far it can take you, and how productive it can make a skilled user is too often overlooked.

--- rod.
 
2 members found this post helpful.
Old 11-06-2011, 02:20 PM   #88
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by theNbomr View Post
That was one of the design goals for COBOL, and someone has already posted an example of how that turned out. I think that too often, how good a programming language or other software tool is, is evaluated solely on how easy it is to start being productive when starting from point zero. The longer term view of how far it can take you, and how productive it can make a skilled user is too often overlooked.

--- rod.
+1 to that....
 
  


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
Worst Distro Ever Completely Clueless Linux - General 309 03-12-2022 05:51 PM
Is Assembly Language considered a Structured Language? theKbStockpiler Programming 4 01-30-2011 09:09 AM
[SOLVED] Can the language of fedora boot message change to other language, zh_CN,e.g.? jimtony Fedora 2 01-11-2011 03:03 AM
can't differentiate system language from keyboard language? lilou_b Linux - Newbie 3 04-14-2010 05:47 PM
Good linux chinese language language program? darsunt Linux - Software 1 04-10-2009 12:06 PM

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

All times are GMT -5. The time now is 02:51 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