[-] balder1993@programming.dev 3 points 2 weeks ago* (last edited 2 weeks ago)

You’re right that garbage collection makes Go simpler, and maybe other patterns do contribute to prevent complexity from piling up. I never worked with Go outside of silly examples to try it out, so I’m no authority about it.

What I meant was more of a “general” rule that the simpler a language is, the more code is necessary to express the same thing and then the intent can become nebulous, or the person reading might miss something. Besides, when the language doesn’t offer feature X, it becomes the programmer’s job to manage it, and it creates an extra mental load that can add pesky bugs (ex: managing null safety with extra checks, tracking pointers and bounds checking in C and so on…).

Also there are studies that show the number of bugs in a software correlate with lines of code, which can mean the software is simply doing more, but also that the more characters you have to read and write, the higher the chance of something to go wrong.

But yeah, this subject depends on too many variables and some may outweigh others.

[-] balder1993@programming.dev 3 points 3 weeks ago

That’s a good argument.

[-] balder1993@programming.dev 4 points 3 weeks ago

If I was gonna make a suggestion, it would be to use some formatting tool such as black to make sure your code is styled in a standard way.

[-] balder1993@programming.dev 3 points 3 weeks ago* (last edited 3 weeks ago)

The mental model I have about performance is that the higher abstraction usually beats the lower level abstraction.

So in that sense, a well architected software with proper caching, multithreading where it matters etc. will beat badly architected software (ex: one that brute forces everything). Then, that being equal, good algorithms and solutions beat bad ones. Only then faster runtimes make more of a difference, and at the bottom things like more efficient processor architectures, more efficient compiler etc. beat slower ones.

A good example is Lemmy itself, which as far as I know was made in Rust to be super fast, but then at the beginning was being DDOSed quite easily because of the way the database was designed and lots of queries were very slow. Once they fixed that, Lemmy became actually usable.

[-] balder1993@programming.dev 3 points 3 weeks ago

What about accessibility?

[-] balder1993@programming.dev 2 points 1 month ago

What I’ve noticed that happened in Brazil is that most major news channels have 2 websites: a subscription one with quality articles and a free one with very summarized AI lazily written news with no details or context.

There’s really not much to it, quality content needs money and ads don’t pay off for all of it (besides the fact nowadays people just blocks them).

[-] balder1993@programming.dev 2 points 1 month ago

Doing small contributions to Wikipedia is quite rewarding. Sometimes I add little stuff, as it doesn’t take much time and small improvements are more easily accepted in any page.

[-] balder1993@programming.dev 2 points 3 months ago

I’m not much active in these communities, but I think there are a few which aren’t very popular but are enough for the job… I just remember that after the Unity outrage, people were recommending moving to Godot.

[-] balder1993@programming.dev 2 points 8 months ago* (last edited 8 months ago)

The problem is people are lazy and most places I’ve been, propele make bad commit messages and often very non informative.

[-] balder1993@programming.dev 2 points 10 months ago

What’s your biggest fear in this regard?

[-] balder1993@programming.dev 4 points 10 months ago

Just as an example, I worked as a contractor with the biggest bank in Latin America before and basically all their server code is Java (with new code in Kotlin nowadays).

[-] balder1993@programming.dev 2 points 1 year ago

I have friends who work at the biggest bank in Latin America, where most backend stuff used to be Java. Nowadays all new code is written in Kotlin.

1
iOS 17: Notable UIKit Additions (www.swiftjectivec.com)
1

The Kotlin type system is amazingly designed. Many features that look like special cases are just a natural consequence of how the type system is designed.

1
1
1
1
view more: ‹ prev next ›

balder1993

joined 1 year ago