PHP. I've worked on many languages but I keep coming back to PHP. It's so easy to get shit done fast, easy, and with all the security upgrades, secure too
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
C++. I want to make things go fast and/or run with minimal resources
It's true what they say: there are languages that everyone complains about, and languages that nobody uses. C++ has been tested time and again.
Since nobody else have said it, Python. It's quick and easy to set up all kinds scripts with it. No need to compile and most Linux distros comes with python pre installed so you're are just one ctrl+v or git clone away from being able to run your scripts.
You got libraries for all sorts of things, and if you need performance, C and Rust interface all nicely with it. Just remember to use type hints.
Python is my go-to in a lot of situations. Initially I really hated the "whitespace has meaning" feature of it. Now after more than a decade of using it, I've gotten used to it, but I still really dislike the the whitespace scoping.
Everything else is great, I just miss my brackets.
IMO whitespace is one of its biggest selling points. It makes code so much easier to read that keeping track of how deep you're in and which bracket to close. Makes refactoring easy too: select stuff with a certain indentation, cut it out and replace it with a single call or something. No looking for the brackets.
Favorite for quick tasks: javascript, the last few years of ecmascript features make it an incredibly productive language.
Favorite for hobby stuff: rust, but with caveats. I miss default parameters, I dislike the syntax soup, the async system has too many "standards" (see xkcd on competing standards)
Favorite for work: javascript/typescript. Having my team be fully capable of working on any part of our competencies with just one language is huge. Sharing code between front end and backend, across products, and easily finding developers all make it an easy choice.
Least favorites:
Php: magic quotes? Golang: using casing to establish public vs private? Objective-C: the worst combo of every one of it's predecessors Java: forcing the paradigm of everything is an object causes so much boilerplate Vb5/6/a: triggering a button with = True, using a single equals for both assignment and equality, callbacks are an absolute nightmare
Php: magic quotes?
Haven't used PHP in a while eh?
Check out PHP 8, it's pretty nice.
Well, best DX by far is Ruby. So I guess on that front it's my favorite.
Logo. 🐢
Yeah, not really a programmer. Logo and Basic were pretty much the extent of my learning as a kid back in the early 80's. Wouldn't mind getting into python if I had some spare time. Keep coming across stuff where being able to do python scripting would be useful.
If you ever get the craving, check out Automate the Boring Stuff With Python It's a great book that focuses on how to Get Things Done.
You won't learn theory or how to build the next ML sensation here, but you will learn how to make your computer work for you.
Logo is the GOAT.
StandardML, but without the module system, I would rather want a typeclass/trait/interface.
Haskell/Scala. Huge fan of pure functional programming. Here's another comment I wrote about some FP-related things
Scala 3 is such a nice language. People should really give that a fair trial, not looking back at Scala's ugly past.
I tend to go back and forth between Go and Python. Typically for work stuff I am writing AWS automation utilities though so I'll opt for Python because Boto3 is lovely. Go is typically for my personal projects.
I've also been itching to try my hand at Rust, but haven't brought myself to start yet.
Backend: golang/python Frontend: js/ts Scripting: bash
If i had to choose one it'd be go.
Go gives me confidence which key for imposter syndrome.
I like v because it uses the c backend instead of llvm or wasm. it's really fast
F# is awesome! One would think it'd be more popular
I just discovered nim and it seems nifty
I'm a tech and not a serious programmer but I really like scripting with bash. It's an easy way to automate and program tasks while also manipulating data.
For example, I've automated reports for my work and made lots of screen scraping scripts.
It's my go to for anything. I've recently started to learn python but often catch myself thinking it would be easier to accomplish most of what I want with a bash script.
And my least favorite has to be Tcl. It's one of the first serious languages I "learned", because eggdrops in the 90ies, and I still don't like it.
Postscript. RPN plus LIFO stack makes it easy to understand
FORTRAN(90). It’s a relatively simple, straightforward language with readable syntax and is blazing fast for manipulating data in arrays. What’s not to love?
Probably typescript, it makes me rather productive and nowadays you can use it for pretty much anything. Even if it's more often than not the optimal solution, it gets the job done
Other than that I'm interested in checking out go and rust, but unfortunately family life + trying to bootstrap isn't giving me much time outside my day job to toy with those.
Golang. This is simply awesome in every way. A perfect balance between performance, resource usage and productivity
Groovy! It's built on Java so it has access to the ludicrous number of libraries that have been written over the years, but It's got a lot of syntactic sugar that's like Python, making developing easier without all that Java boilerplate we hate so much.