There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

flame3244

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

flame3244 , to programmer_humor in Golang be like

Okayyyy

flame3244 , to programmer_humor in Golang be like

So what language would you chose then? Java, PHP, JavaScript? None of the big languages where perfect from day one and it does not really matter, since day one is over already.

flame3244 , to programmer_humor in Golang be like

I think this is a good thing. The styles are just opinions anyway and forcing everyone to just follow a single style takes a lot of bikeshedding away, which I really like.

flame3244 , to programmer_humor in Golang be like

This is not needed anymore since version 1.20

flame3244 , to programmer_humor in Golang be like

Worse than not having a unused variable check at all? Dunno, the underscore assignment are very visible for me and stand out on every code read and review.

flame3244 , to programmer_humor in Golang be like

Honestly, it does not happen often that I have a ln unused variable that I want to keep. In my mind it is the same thing when wanting to call a function that does not exists. Also my editor is highlighting error Long before I try to compile, so this is fine too for me.

flame3244 , to programmer_humor in Golang be like

Yes it is a hard error and Go does not compile then. You can do _ = foobar to fake variable usage. I think this is okay for testing purposes.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines