>>70982146guile unironicallyuse guix
>>70982146What kind of scripting?>Embedded scriptingGuile, Lua if you must>shell scriptingPOSIX shell, Bash>general gluePython is everywhere.
what does scripting mean?
>>70982253I guess he means system scripts.Depending on the job I use shell scripts or python for things bash is not capable of. Switching to golang
>>70983317If you write something small to do a specific task for you, it's a script. Once it inevitably gets out of control, it becomes a program.
>>Scripting language Powershell If you're running Windows it's a no brainer. If you're a windows sys admin and want to move up to dev ops then it's a the skill to learn
Scripting and programming are the same thing.
>>70983569wrong again, idiot
>>70983569maybehe clearly means JIT or interpreted
>>70983601What's the difference then?
>>70982146Fuck off programming 101 student.
>>70983607Scripting is what you do, programming is for professionals such as myself.
>>70983933>NOOOOO I CANT PROGRAM IN PYTHON I AM A PROGRAMMING 102 STUDENT AND HAVE TO SHOW HOW ADVANCED I AM OVER THOSE NOOBS IN 101
>>70982146php7 is underappreciated in non-web stuff.
>>70982146>goAre you legitimately retarded? In what world is go a scripting language?
>>70987972Please elaborate anon
>>70987323And what do you do?
>>70982146Don't use Ruby. You'll have to interact with the biggest faggots in the world if you mess with that.
>>70988847Tcl/Tk is pretty nice.
>>70982253>luaWhy would anyone ever use this piece of shit?Made by a Bra*ilian no less
>>70988128Decent speed, it allows parameter and return value type checking (which compensates for the weak typing), it has good arrays, bindings for many libraries, and many just generally useful functions.
>>70982146> scripting languagewhat a fucking moron.
>>70983389>If you write something small to do a specific task for you, it's a script. Once it inevitably gets out of control, it becomes a program
I was seriously about to make the exact same thread. I don't like python or Perl.Anyone tried Julia?
>>70983459Unironically this.>>70987312Try writing fizzbuzz in PowerShell. The code is elegant, readable, and practical in a development environment. You will be converted instantly.
>>70994092its for simple games
a = 10def wtf(): a+=awtf()>local variable ‘a’ referenced before assignmentmfw this language is that retarded
>>70983317Scripting languages aren't compiled and are interpreted by the machine at run time. Usually used for small tasks or websites, not full programs.
>>70996213Make it global or pass it as argument you drooling troglodyte
Python is literally interpreted pseudo code
>>70996257Yeah no shit you fucking moron, but by not using a keyword to declare your variables to make the language script kiddie friendly means you must then consider any variable in the scope of a fucking for loop a local variable by default. Name one other language that fucking does that.
>>70982253>Python is everywhere.So are roaches and rats.
>>70990988Its small and efficient which makes it good for embedding in larger applications written in a static language like C or C++.
>>70996272It’s no wonder that shitlets who act cocky in programming 101 “cuz muh python game” neck themselves when they see something like C++
>>70982146Haskell is the most powerful programming and scripting language. Python is second.
idk i program in ruby at work and its kinda comfy. its object oriented, fast, and feels bretty functional.
I really like node js. It's easy to write, faster than python, has a huge ecosystem, installing packages and libraries is dumb easy, and it can be used front end and back end.
>>70996325>efficientNo. It's absolutely dogshit slow but the point is you can call C from it so when something becomes a bottleneck, you can just write that part in C. So you have a C/C++ (or any other language really but these two are the most obvious choices for pairing with Lua) program that you extend with Lua but to make it faster you embed C in Lua as well.
>>70996353>Python is second.That would be PHP
>>70996353> Haskell > Most powerfulCome back when you can program in forth brainlet
can guile realistically compite against python?
>>70996353Nope. Lisp is.Haskell is still good though.
>>70998137The language itself is objectively better.Unfortunately, it can't compete when it comes to third party library availability, at least for now.
>>70998346is it a better "general glue" than python?
for me, it's Java. Java is literally the most based language. for anything web related I will use Ruby. before you ask--yea, I am a proud cuck.
>>70997291I wrote a Forth in Haskell, can you write a Haskell in Forth?
>>71000563>I am a proud cuckbased cuck
>>70988452he programs, obviously
>>70994092not sure why you'd use julia if you aren't doing anything with mathematical computing
>>71000748Julia is fine for general stuff if you are ok rolling a lot of it yourself. The JIT is fast, it has all of the concurrency and parallelism included, and the multiple-dispatch system is very powerful. It even has optional typing, which puts it a step above most dynamic languages.
>>70998137If we're talking lisps then Clojure on Graal
>>71000886I'll give you that, but Python is a meme language for babies and script kiddies.
>>70982146Anything that can detect a misspellt variable at compile time. Anything with immutable, declared types. Anything statically compiled.
>>71002525Why do you advocate for immutability in a script?Btw Gluon, a script lang written in rust, matches your characteristics
>>71002672Because that throwaway script from last week will always live beyond its expiration date and grow beyond 100 lines of code. Unless its original developers that are almost always a bunch of flaccid pussy faggots are forced to throw it away it won't be a "script" for much longer.I know and there are much more. Languages like Python and Ruby only are around a prelengthened period of time because retards in the 90s fell for the dynamic meme and it will some additional decades to deal with the damage.
>>71002714What is an example of a good script lang then?