sekhat

joined 1 year ago
[–] [email protected] 2 points 9 months ago

I started using Linux many moons ago when the LAMP stack was common for web development. (Linux, Apache, Mysql, PHP). But that was only on servers. It's only in the last couple of years I've switched to seriously using Linux on the Desktop. I finally got fed up of Microsoft writing software as if using their OS meant they owned my machine and they could do what they liked with it. So I've switched. While windows still sits on a partition due to a couple of games, I find I'm going months without needing to touch it. I suspect I'll be rid of windows entirely in the near future.

[–] [email protected] 2 points 11 months ago

I mean people are going to put their hot takes wherever made them think of it. Just down vote and don't engage. Unless especially egregious then report them

[–] [email protected] 2 points 11 months ago (1 children)

Depending on your language, your closest analogue is going to be interfaces. C# even has a where clause where you can restrict a generic type such that any type substituted must implements one or more interfaces. You can get quite a bit of trait like working there, from the function input side of stuff.

The biggest problem is, you can't implement an interface for a type unless you have access to the type. So you'd have to really on wrapping types you don't own to apply trait like interfaces to it.

And then there's minor issues like, no such thing as associated types, or being able to specify constants in a definition. But you can usually work around that in a less nice way.

[–] [email protected] 1 points 11 months ago (1 children)

Not that they have much incentive in the first place. As history has shown, developers are quite happy NOT to make Linux ports at all. The market just isn't big enough to care.

[–] [email protected] 0 points 11 months ago

Once upon a time Internet Explorer was a great browser. Until they successfully forced the majority to use it.

[–] [email protected] 1 points 11 months ago (1 children)

But you are supposed to change that generated password as soon as you use it to login. Now I have no idea about these forums, but you'd expect the software to enforce that need to change

[–] [email protected] 2 points 11 months ago (3 children)

I'd be more worried if someone who uses the internet to such a degree that they use Lemmy over Reddit, on a programming forum, didn't get the reference. This is famous hacker lore at this point.

[–] [email protected] 1 points 1 year ago

Yet, I do. So, I like to enforce it.

[–] [email protected] 3 points 1 year ago (2 children)

I used to be a tabs guy, somepoint over time, especially when I realized some of the edge cases I have in formatting only remain consistent when using spaces, I switched.

[–] [email protected] 5 points 1 year ago (2 children)

And over gofmt, rustfmt lets you set settings for the project. Keeps the code looking how I want, and contributers don't have to care.

[–] [email protected] 2 points 1 year ago

Scrolling to a line number seems inefficient.

[–] [email protected] 2 points 1 year ago

Not on Arch it doesn't. Almost all window managers have a package somewhere. There will be a lot of configuring, but no compiling.

view more: ‹ prev next ›