Variables in Go: Best practices #shorts

preview_player
Показать описание
A review of best practices for naming variables in Go #shorts
Рекомендации по теме
Комментарии
Автор

Hi, great shorts! Could you elaborate more about "shorter the scope the shorter the acceptable variable name"?

gdgo
Автор

I will never do single character variable names. It looks like shit and introduces unneccesary mental overhead

sorvex