开发者

What could be the extreme of building logic inside an application(software) i.e. GMail Attachment Validation [closed]

开发者 https://www.devze.com 2023-01-11 12:23 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 12 years ago.

I have recently visted the GMail Blog, and found the extreme point of logic building inside software,

i.e.

Never forget an attachment again

Gmail looks for phrases in your email that suggest you meant to attach a file (things like "I've attached" or "see attachment") and warns you if it looks like you forgot to do so. Every day, this saves tons of people the embarrassment of having to send a follow up email with the f开发者_StackOverflow社区ile actually attached.

What could be the extreme of building logic inside an application(software) i.e. GMail Attachment Validation [closed]

(source: blogspot.com)

I think this is too much...

Please share your expreience about the extreme point of logic building inside software/application.


Google is writing their code for their application.

If the context were instead a public library for sending mail messages, then your argument of "this is too much" might have more weight. In that case, a better approach might be to provide a hook where code can be installed that can check the text and attachments and issue a warning if something doesn't look right.

The attached / not attached issue is very common and this is a completely reasonable way for Google to handle it in Gmail. Most likely it is in the same block of code that checks for empty messages and blank subject lines.

0

精彩评论

暂无评论...
验证码 换一张
取 消