< http://www.tombstonezero.net/dan/> 我希望人们按字母顺序死亡。 - 我的妻子,系谱学家 If there''s a good design-level reason (like keeping certain objects orclasses unaware of others, or leaving room for something you know youwill add later), then there''s nothing wrong with a function consistingsolely of another function call. If you end up with a lot of those tinyfunctions, though, and they persist through multiple development cycles,then you may be making a systematic mistake in your design. Regards,Dan --Dan Sommers<http://www.tombstonezero.net/dan/>"I wish people would die in alphabetical order." -- My wife, the genealogist 显然你_can_那样做。但是,我不会。如果(对你而言)上面的四个 函数意味着不同的东西,我会实现convert_quote 与: convert_quote = make_code - -Scott David Daniels sc *********** @ acm。组织 这篇关于创建实用功能的常用做法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-24 01:06