this post was submitted on 30 Sep 2023
101 points (91.1% liked)

Programming

17526 readers
231 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
[–] MrJay@programming.dev 4 points 1 year ago* (last edited 1 year ago)

I currently don't have 1 favorite there are so many really cool languages. but here are 2 and some that have inspired me.

  1. Common Lisp for sheer Technological prowess has some very advanced features that I dont see very often, runtime recompilation, code as data, data as code, debuggers, images, redefinition, macros , perf measuring, recompilation during errors to fix bugs etc... and has a algebraic syntax which can be nice.
  2. D for general purpose, again has features that are not common, optional GC, C compiler, zero allocation c strings, Lowlevel purity, and can be as Fast/Faster than C, and as simple as python(in the base language obviously pythons packages make up for basically all of its flaws). Languages that have inspired me not favorites but changed the way I think are APL, Factor, Scheme, Lobster, Unison, and Koka, I hope you enjoy the read if you check any of those out.
[–] IrrerPolterer@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Python! Although I've been recently working on a bigger frontend project in TypeScript and I've grown to like it... Wouldn't use them for all the same purposes though. Right tool for the job and so on...

[–] 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

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

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

[–] 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)
[–] pedz@lemmy.ca 3 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.

[–] 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.

[–] estebanlm@lemmy.ml 3 points 1 year ago (1 children)

I love Pharo :) All the power of a Smalltalk for the 21 century, a small but very nice community, decent library support (but not huge), and a good FFI interface when this is not enough.

[–] cyclohexane@lemmy.ml 2 points 1 year ago

What would be the appeal of small talk, or a smalltalk-like language?

[–] 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.

[–] 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.

[–] 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.

[–] 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?

[–] 0x0001@sh.itjust.works 2 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.

[–] 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 ›