Bash for quick scripts, Ruby for some smaller scripts, Golang has been a favourite as of late due to integration into the ecosystem with k8s,p8s, envoy…
JavaScript, because Stockholm Syndrome is real.
Perl. I can use it after awhile away without having to look up how to do things. It adapts to the best style for what I need to do.
matlab 😈 because I love figuring out how to vectorize code! I’ve used it for various art projects (see below) and it manipulates images beautifully. and the documentation and error messages are easy to follow.
Clojure. I not only get to use a functional language but also get to use all the libraries written for an actually popular language (Java, or JS for ClojureScript). Altough I’d choose something else if functional programming should ever catch on.
JavaScript. Stay mad but it’s fun to write, easy to get into, easy to do both visual (e.g. web) and CLI-style code, and it’s awarded me a cushy life, house, and car.
I can’t use regular js anymore after getting used to typescript. I just get annoyed at myself
Yeah I should have been more specific in that I also use TS.
Good news, I’m not sure when you’d ever have to. TS literally compiles to JS
I actually like JS too. It is second to python in ease, but way better in terms of tooling and eco system.
The JavaScript eco system has some issues due to legacy baggage of browsers and design issues with node, but beyond that, the tooling is amazing and powerful.
I’ve been around - did COBOL at uni. DOne a lot of commercial work in Delphi and C++. I loved the few months of Swift I tried, but started on webdev 6 months ago. I felt really unsafe in JS, and was looking forward to moving onto Typescript. But, as time’s gone on, I’ve found JS just seems to work how I think it’s going to. I haven’t run into problems with types at all. I assumed I’d end up on a complied language for server side, but the Node ecosystem’s so mature it’s just been efficient to stay in JS land.
If I was going to teach kids to code, this is where I’d start. Low friction to get going, and powerful enough to run most of the world. Bountiful resources to learn and get support.
and it’s awarded me a cushy life, house, and car.
The rest sounds like cope but this I can get behind.
HTML 4, cause I leaned it in 1998 when I was 10 and it’s the only language I know (besides English) .
Go. It’s high level enough in terms of syntax that it’s easy to build complex apps in, and low level enough that I’m able to control pointers, manually run the garbage collector, and benefit from the runtime performance.
It’s the best of python and JS.
amen, brother
Hell yea. Can’t forget those compile times and that parallelism handling. I can’t think of a language that has a better dev cycle to performance ratio.
I really want to learn it, and I understand the basic syntax and patterns. What apps did you make with it to learn it? I can’t think of anything big to make.
I made quite a few. Most of the apps on my portfolio use Go on the backend.
COBOL, because I loathe myself and don’t want to be happy
I haven’t programmed anything for years and it was all self learned so I’ll always have a soft spot for delphi.
PHP.
It picked a niche and fits exactly into it. It’s a language for server side web pages. It’s not a general purpose language shoehorned into the task, so it wisely sets boundaries. PHP could avoid a lot of async/await/promise hell because you can work in the mindset of HTTP requests-- terms of short lived requests that are compiled elsewhere. You don’t have fragile runtime environments (see: server-side JS), since it just plugs into Apache or Nginx, which are at least battle tested and known quantities to operate.
It’s batteries included. Hell, it’s the entire Duracell company included. The standard library is rich and centrally documented, including decades of community nitpicks, even before you go into composer repos.
It’s non judgmental. You can write procedural code, or object-oriented code, based on preference and fit to task.
It makes ad-hoc easy and formal possible-- If I need an array of [227, “Steve” => “meow”, 953 => new FreightLocomotive()] I can get it, or I can enforce types where it’s relevant and mitigates risk.
PHP really is such a forgiving language and easy to understand and get in to. My favorite part is that every time I have a seemingly very niche and specific use-case, there is a function that just does that thing perfectly and is already included in the base library.
You said it and I’ll reaffirm: the documentation and online library of SO questions/answers is absolutely priceless. Most of the older versions are still compatible with the latest version, so upgrading is simple and usually just means there are more features you can use now.
10 print: “Basic”
20 goto 10Run
That’s about as far as I got :-)
syntax error (the colon after print)
Ha, I was back and forth about that, couldn’t remember whether it should be there or not.
Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic Basic
FORTH, but not because I actually use it regularly. A stack-based zero-operand postfix language? Every routine/word you define is like solving a puzzle.
Python. I’m a data engineer by trade and the ability to just lay out functionality between different systems and move content fast is great. I know you can do that with many languages but python does scripting very well. And since by default I am working with remote/parallelized/containerized systems I never really lament pythons lack of speed.
Obviously python is not the only language in my workweek.
I try to stay language agnostic but if I’m honest JavaScript is my favorite because of the speed it provides. Also I like to build we based things so it’s always in the stack