赞
踩
好的代码格式犹如一篇优美的文章,阅读时令人心旷神怡。
// put elephant into fridgeput(elephant, fridge);
方法名 put,加上两个有意义的变量名 elephant 和 fridge,已经说明了这是在干什么,语义清晰的代码不需要额外的注释。