this post was submitted on 30 Sep 2023
102 points (90.5% liked)

Programming

17748 readers
697 users here now

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



founded 2 years ago
MODERATORS
(page 3) 50 comments
sorted by: hot top controversial new old
[–] phoenixz@lemmy.ca 4 points 1 year ago

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

[–] qevlarr@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

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.

[–] UndercoverUlrikHD@programming.dev 3 points 1 year ago (2 children)

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.

[–] waz@lemmy.world 3 points 1 year ago (1 children)

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.

[–] onlinepersona@programming.dev 2 points 1 year ago

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.

load more comments (1 replies)
[–] 0x0001@sh.itjust.works 3 points 1 year ago (1 children)

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

[–] charliespider@lemmy.world 3 points 1 year ago

Php: magic quotes?

Haven't used PHP in a while eh?

Check out PHP 8, it's pretty nice.

[–] MonkCanatella@sh.itjust.works 3 points 1 year ago

Well, best DX by far is Ruby. So I guess on that front it's my favorite.

[–] EchoCranium@lemmy.zip 3 points 1 year ago (2 children)

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.

[–] swordsmanluke@programming.dev 3 points 1 year ago (2 children)

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.

load more comments (2 replies)
[–] MajorHavoc@lemmy.world 2 points 1 year ago

Logo is the GOAT.

[–] pap1rus@lemmy.ml 3 points 1 year ago

StandardML, but without the module system, I would rather want a typeclass/trait/interface.

[–] Nevoic@lemm.ee 3 points 1 year ago (1 children)

Haskell/Scala. Huge fan of pure functional programming. Here's another comment I wrote about some FP-related things

[–] kicksystem@lemmy.world 3 points 1 year ago

Scala 3 is such a nice language. People should really give that a fair trial, not looking back at Scala's ugly past.

[–] ndguardian@lemmy.studio 3 points 1 year ago

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.

[–] xnasero@programming.dev 3 points 1 year ago

Backend: golang/python Frontend: js/ts Scripting: bash

If i had to choose one it'd be go.

[–] MiikCheque@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

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

[–] pedz@lemmy.ca 2 points 1 year ago

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.

[–] DirigibleProtein@aussie.zone 2 points 1 year ago

Postscript. RPN plus LIFO stack makes it easy to understand

[–] charon@lemmy.ca 2 points 1 year ago

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?

[–] kassuro@feddit.de 2 points 1 year ago

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

[–] drislands@lemmy.world 2 points 1 year ago

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.

load more comments
view more: ‹ prev next ›