Developer Culture

Newsletter #129

欢迎阅读 Newsletter #129。 Hacking the Method Name 在 Java 中,读取 CSV、取查询结果或调用 REST API,有时需要用字符串表示属性名。我们通常把 "title" 或 "author" 写死在代码里,容易拼错,编译器也不会检查。文章介绍了直接从方法引用中取方法名的技巧 …