1415
Golang be like (i.imgur.com)
you are viewing a single comment's thread
view the rest of the comments
[-] DarkDarkHouse@lemmy.sdf.org 196 points 1 year ago

As your future colleague wondering what the hell that variable is for, thanks Go.

[-] Nioxic@lemmy.world 27 points 1 year ago

Isnt the syntax highlighting it as mever used?

So why would they wonder?

[-] Camilo@discuss.tchncs.de -2 points 1 year ago

If it is a pure value, I'd assume yes, but if it is tied to a side effect (E.g. write its value to a file), then it would be not used but still could break your app if removed.

I'm not familiar with rust language specifically, but generally that's what could happen

load more comments (13 replies)
this post was submitted on 14 Aug 2023
1415 points (98.0% liked)

Programmer Humor

19488 readers
836 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS