Scripting language survey
Which is the best scripting language and why?
October 9th, 2017 12:57am
I hate (learning) Python for the same reason. Feels like I'd rather donate a kidney than go over that "indentation is significant" crap.
October 9th, 2017 3:20am
October 9th, 2017 3:51am
October 9th, 2017 4:15am
October 9th, 2017 4:15am
If you can't deal with Pythons indentation then perhaps you aren't smart enough to be writing software.
October 9th, 2017 7:28am
Yes. Or perhaps you're a cretin pulling generalizations out of his ass.
Leoz Maxwell Jilliumz
October 9th, 2017 7:33am
Python is the least insane of the scripting-type languages I've used, though that's not to say it has no issues. The virtualenv stuff sucks, and the 2.x vs 3.x split is an ongoing (if less so over time) problem. These are much bigger issues than the significant indentation.
(Mostly, the indentation is a non-issue, but every now and again I find myself have to do more manual fixup than I'd like, because indentation levels are explicitly opened but not explicitly closed.)
Overall I'd say I've generally been a happy Python user, but as with any dynamically-typed languages it doesn't scale super-well and once my programs get past about 1,000 lines I do start to get the urge to redo them in C++ or (when appropriate) C#.
October 9th, 2017 7:57am
Sympathetic to libtard_uk's position on this.
I'd say since you have a big issue with indentation, then don't use Python. Use whatever you want. Doesn't matter.
"What's a good general purpose interpreted language?"
"Python's pretty good."
"But it has stupid indentation and no type enforcement, I won't use it."
"How about Ruby?"
"Ruby is stupid as well."
"Perl is obsolete."
"Isn't that only for statistics?"
"What the game scripting language? Get serious."
"I don't know what to say."
"So you are saying there are no good scripting languages at all! I knew it! There's nothing I can use!"
October 9th, 2017 8:25am
Sounds like it is time to write another scripting language.
This new one won't suck. Honest.
October 9th, 2017 9:49am
I've been using Legion's UltraScript2000 for some time now. It's definitely the best scripting language and perfect in everyway... except it doesn't enforce CamelCase and doesn't have Aspect Oriented Programming. We have tried to bring this up multiple times and Legion simply closes the tickets saying it doesn't match the design vision.
Therefore I am pleased to announce a fork of the UltraScript2000 project. Introducing UltraScript2000a. UltraScript2000a is the truly perfect scripting language. We had to make some adjustments to the basic syntax to accommodate the new features, so although UltraScript2000 scripts don't work out of the box with UltraScript2000a, the UltraScript20002UltraScript2000a script converts from one format to the other, getting at least 90% of the code converted, and requiring only small hand adjustments here and there.
October 9th, 2017 9:53am
October 9th, 2017 9:53am
Or better yet, write direct in UltraScript2000a, the world's best scripting language, and convert to Node.js using the UltraScript2000a2NodeJS conversion script.
October 9th, 2017 9:59am
It appears that despite the moaning about too much non-technical talk here, very few people have actual technical knowledge. Thank you to the people who did actually make a contribution. More contributions are welcome, particularly from the erstwhile clowns.
October 9th, 2017 11:20pm
In fairness, I should and do acknowledge the possibility that the clowns in this thread are not the same people who have in earlier threads bemoaned the lack of tech talk.
October 9th, 2017 11:38pm
My rule: Always go for funny, especially after the discussion is over.
October 9th, 2017 11:42pm
,Cup seems to have a problem with humour, he should head over to HN where he will fit right in.
October 10th, 2017 2:18am
Don't backpedal. Belatedly adding a smiley or a "it was a joke, son" to an unfunny remark does not magically turn it into humour. Be honest and own it. Now make a comment on which scripting language is best and why.
October 10th, 2017 2:45am
Having a bad day?
October 10th, 2017 3:24am
Ok fine you don't know which language is best.
F: Was ist braun und schwimmst du mer?
October 10th, 2017 4:19am
ECL (Unisys OS1100 Exec System Software Executive Control Language) was funny.
It couldn't jump back, so loops were impossible. In fact it had hardly any logic constructs, just executable control statements.
So it used a macro language that would - at run time - generate a piece of script five times when a five fold loop was needed, or create or delete if-branches and then it executed its generated script.
It was a bit of a challenge to migrate the thousand batch jobs that used this ECL, but we had a Unisys programmer who wrote a new interpretor that produced powershell as output and ran itself in a powershell environment, while the programs that were executed in the job also ran in the powershell process.
I wrote the operating calls that interfaced the cobol programs with his job processing engine, so we had a complete emulator of the 1960's mainframe batch processing.
It is still running solidly, but of course there are no new jobs written with this system (much easier to do it all in a C# program), although, I am not sure, maybe an old system administrator did add a new old style batch job, as it is all still working.
I'd still say python. The indentation stuff isn't that bad and encourages you to NOT have too many nested constructs. If you really can't stand it, then do Ruby.
October 10th, 2017 6:14am
The magic puts me off Ruby, it seems every method has half a dozen aliases and you are never really sure what's going on underneath it all.
October 10th, 2017 7:36am
You are gonna be web programmer. You are gonna be web programmer.
October 10th, 2017 9:57am
October 10th, 2017 9:58am
Java is like, the best language, ever. It has the best keywords, and will defeat ISIS.
October 10th, 2017 10:53am
Java offers a good balance between speed of development and speed of execution.
Python is popular. That is its main advantage, and the fact that it has much less disadvantages than almost all other scripting languages. But yeah, it's quite slow.
I never used Lua but it used to be quite popular in reinforcement learning community before they all switched to Python.
October 11th, 2017 8:17am
> I never used Lua but it used to be quite popular in reinforcement learning community
Which RL papers used Lua?
October 11th, 2017 10:22am
BTW, FSK, it has a Breakout example, maybe you'd find the article interesting.
October 11th, 2017 10:51am
AlphaGo was written in Lua.
October 12th, 2017 6:31am
>>Java offers a good balance between speed of development and speed of execution.
Yet it is really hated, I never understood why it gets so much disdain from the programming community.
October 12th, 2017 8:55am
Java's a decent language and it's performance is pretty good.
I've used it several times where I create a single executable file that you can double click on, and it will launch and run on Windows, Mac and Linux.
What else provides that? Nothing, I think.
October 12th, 2017 9:05am
"Yet it is really hated"
It's been over-hyped by Sun, and it backfired. Also, it lacks the cool factor.
Just goes to show how stupid the majority of code monkeys are.
October 12th, 2017 4:21pm
Java is far too verbose, both in syntax and in style eg getters and setters everywhere. Too much typing to actually get something done.
For different reasons, C also requires too much typing. It is a terse language which is good IMHO but in today's world it requires too much typing to actually get something done. Higher level languages are more appropriate for the majority of problem domains that don't fall under systems programming. It's still my favourite language, but it has been a few years since I wrote anything in it. Sigh. Python might turn out to be a satisfactory substitute general purpose language.
October 12th, 2017 8:28pm
So that's what you are. An overpaid typist.
October 13th, 2017 5:41am