重构和代码整洁之道该看哪个_新的,整洁的和值得注意的,第一部分

重构和代码整洁之道该看哪个

This article discusses a previous version of the site, when it was known as demosthenes.info. As such, much of what it discusses may no longer be relevant, or is outdated; the piece has been left here for archival purposes.

本文讨论了该网站的先前版本,即demosthenes.info 。 因此,它所讨论的许多内容可能不再相关或已过时; 这件作品已经留在这里供存档。

A few housekeeping/news items that don’t really fit in tweets or other forms of social media:

确实不适合推文或其他形式的社交媒体的一些客房整理/新闻项目:

You’ll note a new Google “+1” button on the site, for registering your interest in an article on Google+ and with the search engine itself. (Articles you have added via “+1” will tend to come up top in your related searches on Google, assuming you are logged into your account). There is room for improvement: right now the share information with +1 is a little rough and imprecise, and the buttons take too long to load. I’ll improve that by adding metadata to each article tomorrow, as well as tweaking the JavaScript. (I also realize that the social media buttons are now unattractively out of alignment: I’ll tidy that up in the pure HTML5 version of the blog, currently under development.)

您会在网站上看到一个新的Google“ +1”按钮,用于在Google+上和搜索引擎本身中注册您对文章的兴趣。 (假设您已登录帐户,则通过“ +1”添加的文章通常会在Google的相关搜索中排在首位)。 有改进的余地:目前+1的共享信息有点粗略和不精确,并且加载按钮所需的时间太长。 我将在明天通过向每篇文章添加元数据以及调整JavaScript来改善这一点。 (我还意识到,社交媒体按钮现在变得不那么吸引人了:我将在目前正在开发的纯HTML5版本的博客中进行整理)。

With the removal of the “Recently Updated Articles” section from the sidebar several months ago, I’m under the impression that people assume that articles on this site remain static and unchanged once they are published. While most blogs take this approach of placing past articles in cold storage, it is not a practice I follow: entries here are being constantly revised, extended, updated and (on the very rare occasion) corrected. As always, your suggestions, comments and feedback are very welcome!

几个月前,从侧边栏中删除了“最近更新的文章”部分,给人的印象是,人们认为该网站上的文章一旦发布便保持不变。 尽管大多数博客都采用这种方式将过去的文章保存在冷库中,但我不遵循这种做法:这里的条目会不断修改,扩展,更新和(在极少数情况下)得到纠正。 与往常一样,我们非常欢迎您的建议,评论和反馈!

翻译自: https://thenewcode.com/399/New-Neat-and-Notable-Part-One

重构和代码整洁之道该看哪个

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值