Gremour

joined 2 years ago
[–] Gremour@lemmy.world 9 points 1 week ago

Which suspiciously reminds optimization. Like computer game with infinite procedural world, where map chunks only generated where player interacts with world, being just formula (algorithm) everywhere else.

[–] Gremour@lemmy.world 2 points 1 week ago

I was referring another comment in the thread, sorry for confusion. The OP attacks both Go and microservices, although it's no Gos fault in the story.

Also I just hate Java too, and OOP in general.

[–] Gremour@lemmy.world 4 points 1 week ago (3 children)

According to votes, hating Java is bad, but hating microservices is good.

[–] Gremour@lemmy.world 4 points 1 week ago

Well, that's the architecture problem, not the language.

[–] Gremour@lemmy.world 16 points 2 weeks ago

Hiding the complexity behind nice interfaces makes it actually more difficult to understand programming.

This is a very important point, that most of my colleagues with OOP background seem to miss. They build a bunch of abstractions and then say it's easy, because we have one liner in calling code, pretending that the rest of the code doesn't exist. Oh yes, it certainly exists! And needs to be maintained, too.

[–] Gremour@lemmy.world 10 points 1 month ago (1 children)

Black Mirror season 7 (I think) has an episode about this. Surgery to fix a part of brain (not cheap) installing a chip. And after some time pay a subscription to get rid of ads. And subscription gets more expensive over time.

[–] Gremour@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

In Go, the recommended convention for variable name length is to be proportional to their scope. It is common to use one or few letters long variables if they are local to a few lines loop or a short function.

[–] Gremour@lemmy.world 5 points 1 month ago (1 children)

Well, every natural plant have seeds. They need to reproduce. Those without seeds go extinct in one generation.

[–] Gremour@lemmy.world 3 points 2 months ago* (last edited 2 months ago) (1 children)

In Go you can compare structure instances with == (by value). You can also compare pointers (in which case they can be different even if values are equal). You get what you ask for.

Also, I've never needed "Equals" method in Go.

[–] Gremour@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Usually I load machine gun turrets manually. And use them mainly to clear nests early in the game. Later, when I get my hands on oil, I build perimeter with walls, flame and laser turrets. Connect pipes with oil and connect electricity. That do the trick.

[–] Gremour@lemmy.world 3 points 2 months ago* (last edited 2 months ago) (2 children)

That is convenient. This way you can explain anything you like. I think, Sam Harris said "it's like playing table tennis without a net".

view more: next ›