"That's not necessarily an easy sell, though. Just see all the wars through the times over coding standards. If people could just agree on one way of placing their brackets, they could presumably reap more readable and uniform code. But for a lot of people, that didn't work because the trade wasn't appealing enough. Getting a more uniform code base is frequently not treated as importantly as individual 'freedom' by a lot of programmers.
Rails essentially tries to do the same as the coding standards did, but the reason it's working better is that the deal is much sweeter. Getting a uniform code base is an abstract, group-centered goal. Seeing your application work in a fraction of the time it took you before is a very concrete, individually rewarding goal."
netcasper:始终搞不清coding standard是指什么?有时似乎是指使用某种编程语言的注意事项,也有时是指代码的格式。上文应该是指后者,其实如果是前者的话还是会受到欢迎的。
没有评论:
发表评论