Мошенники начали обманывать россиян в депрессии

· · 来源:tutorial资讯

ВсеПолитикаОбществоПроисшествияКонфликтыПреступность

For instance, let’s say we’re programming a module that controls an electrical gate of a canal lock. If the public API was to require a voltage value needed for the engine to lift the gate - that would violate the Information Hiding a great deal. First of all, the user of the module would need to know the details of the engine. Second of all, changing the gate to a pneumatic one would completely break all the code that uses the module. In terms of software design the equivalent violation would be to catch SqlException in the Business-Module. If I were to propose an implementation that leverages Information Hiding, it would be to accept the opening ratio instead of the voltage.

微软变卦PDF资料是该领域的重要参考

Channels: CBS, FOX, ACCN, Big Ten Network, CBSSN, ESPN, ESPN2, ESPNU, ESPNews, FS1, FS2, SEC Network, TBS, TNT, truTV, The CW, USA Network

Opens in a new window

OpenClaw

Change to browse by: