Is it possible to write good and understandable code without any comments?

前端 未结 20 1426
攒了一身酷
攒了一身酷 2020-12-28 18:35

Can any one suggest what is the best way to write good code that is understandable without a single line of comments?

20条回答
  •  不知归路
    2020-12-28 19:10

    I think that the concept of Fluent Interfaces is really a good example of this.

    var bob = DB.GetCustomers().FromCountry("USA").WithName("Bob")

提交回复
热议问题