Conversation

If you had to choose between Python and JavaScript syntax for a developer automation tool, what would you prefer?

62% Python
37% JavaScript
0
0
0

@4censord I would love to, but I want people in the general public to actually use this

0
0
0

I kind of hate both options for this poll, but it does make me realize that there’s not really a language I do like for this sort of thing. I do want something closer to a scripting language, relatively constrained in syntax, but still expressive enough to not have much boilerplate.

RE: https://pony.social/@cadey/112724634331455443

2
0
0

@alpha Yeah, that's the kind of thing I'm going for with this. High level scripting to let you automate doing tasks that would normally take a lot of effort in other ecosystems

1
0
0

@cadey I’m surprised no languages come to mind for this - all the ones I usually use are either too low level or too complicated probably. I feel like I’d want some sort of stripped down TypeScript, but with some form of builtin parsing with validation?

0
0
0

@cadey if you can use it without having to touch a package manager, either would be okay tbh

1
0
0

@kellogh using npm and pip would be banned in this setup

0
0
0

@alpha There’s probably times when I’d prefer Lua or Scheme to these. I’m not disappointed by NeoVim and Helix choosing them respectively.

1
0
0

@josephholsten @alpha Python has a benefit of many many years of sysadmin scripting prior art

but Lua is a lot easier to grasp, especially if you're a beginner

1
0
0

@robdaemon @josephholsten Another weird benefit with Lua is that I can use Fennel instead as a wrapper around it.

1
0
1

@alpha @josephholsten all this reminds me I wish I had played with Lisp Flavored Erlang more

0
0
1