最近看到了一个小视频,教大家怎么命名自己的文件。看完之后深有感触,对于我这种没有调理的人来说,太有用了。希望自己以后可以不偷懒~现在花的时间是为了以后节省时间>_<
https://rawgit.com/Reproducible-Science-Curriculum/rr-organization1/master/organization-01-slides.html#5
Payoffs accumulate as your skills evolve and projects get more complex
Awesome file names :)
Three principles for (file) names
1.Machine readable
-
Regular expression and globbing friendly(设置关键词以便于筛选)
Avoid spaces, punctuation, accented characters, case sensitivity
学会使用下划线
- Easy to compute on
Deliberate use of delimiters
2.Human readable
Name contains info on content
Connects to concept of a slug from semantic URLs
Plays well with default ordering
Put something numeric first(给文件编号)
Use the ISO 8601 standard for dates(标记日期)
*Left pad other numbers with zeros