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.
- 0 Posts
- 96 Comments
Well, every natural plant have seeds. They need to reproduce. Those without seeds go extinct in one generation.
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.worldto
Memes@lemmy.ml•Yes, i started playing the Autism funny game. 1 Week in, 16 hours only
2·30 days agoUsually 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.worldto
Not The Onion@lemmy.world•A third of Americans believe Trump’s presidency is part of God’s planEnglish
3·30 days agoThat is convenient. This way you can explain anything you like. I think, Sam Harris said “it’s like playing table tennis without a net”.
Gremour@lemmy.worldto
Not The Onion@lemmy.world•A third of Americans believe Trump’s presidency is part of God’s planEnglish
9·1 month agoThat is logical. Practically, though, this is used for justification of selected events. If a person confronts with something he doesn’t like, e. g. bugs in his home, he will actively try to change it.
Gremour@lemmy.worldto
Games@lemmy.world•More Online CO-OP Games should have option to pauseEnglish
11·1 month agoIf I recall correctly, Starcraft 2 has a pause in online match. Other players get pause screen and can unpause the game. It all comes down to both(all) players agree on pause, and can be useful if correctly implemented.
No. But for some reason I got confused this time.
I’m surprised you’re downvoted like this, but I had a similar thought. I understand the meme, that it is about the feeling when you finished a game with a story that made you involved. But calling it a “lifechanger” feels like exaggeration.
I have played a game that touched me deeply, leaving me emotionally out of my socket for about a week. But I wouldn’t say it “changed my life”. I can feel the echo of that experience when I remember, but that’s all.
Antiyoy is a clone of the 2000s game “Slay”, which is on Steam with updated graphics, to my surprise.
Tin Woodman from the Wizard of Oz, but why he’s golden?
After quite a break from HD2 I’ve returned to try a game vs Illuminati. I’ve always played private lobby, but this time settings were reset and I forgot to check this specific one. Ended up in a game with random people which wasn’t my plan.
Holy amount of ads on that page. More than actual content. Yeah, I was lazy to install adblocker on my phone browser. Until this moment.
Gremour@lemmy.worldto
Games@lemmy.world•Hytale, once touted as the Minecraft killer, is ceasing developmentEnglish
5·5 months agoThere are videos on youtube that sum up main progression from stone to steel.
There are also other topics to learn, like prospecting for ore, leather making (for backpacks), animals handling, bee keeping (if you want lanterns), windmill building (to automate iron processing and as prerequisite for steel), and many more.
Survival hanbook (H key by default) have a lot of info and guides on game mechanics. Otherwise, google videos on certain topics.
It is fun to pass all these milestones and see how your small village grows.
P.S. As for storage, keep food and unprocessed animal hides in storage containers made from clay in cool cellar, bulk resurces (stone, ore nuggets, wood blocks) in crates and everything else in double chests that you can make as soon as you get access to copper (for nails and strips).
Some things like firewood, peat, bricks can be stockpiled right on the floor. Also you can lean tools to the wall or put them on tool racks for convenience. This also adds to an atmosphere of medieval building.
Gremour@lemmy.worldto
Programming Circlejerk@programming.dev•SOLID is cargo cult. And trying to apply it to Go is like bringing a katana to a boxing match
1·5 months agoKilling opponent with katana in boxing match is not a victory by boxing rules. You have to fight barehanded.
Gremour@lemmy.worldto
Programming Circlejerk@programming.dev•SOLID is cargo cult. And trying to apply it to Go is like bringing a katana to a boxing match
2·5 months agoI think “overkill” is the word that summarizes analogy.
In my langauge there is a proverb: “to shoot sparrow with a cannon”.
Surprised someone mentioned it. I’m playing it too. Quite captivating game.






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.