A NetBeans Hammer Experience
←Older revision | Revision as of 13:42, 12 November 2012 | ||
Line 27: | Line 27: | ||
The original use-case was to synchronize when there was a chance that an external tool was executed. To execute an external process one had to switch to terminal window or window of some other application. Obviously gaining focus back was relatively [[good]] moment to refresh (at least for short running external commands). The more often the IDE got focused, the more up-to-date its view of sources was. There was some sense in doing this. | The original use-case was to synchronize when there was a chance that an external tool was executed. To execute an external process one had to switch to terminal window or window of some other application. Obviously gaining focus back was relatively [[good]] moment to refresh (at least for short running external commands). The more often the IDE got focused, the more up-to-date its view of sources was. There was some sense in doing this. | ||
- | However using a ''focus not gained'' to prevent the IDE from doing a refresh is a fragile black magic | + | However using a ''focus not gained'' to prevent the IDE from doing a refresh is a fragile black magic and not a user interface. First of all it is not easy to find intuitive UI, second it will lead to situations when people will be afraid to use '''Alt-Tab''' as they might accidentally switch to the IDE at inappropriate moment. |
This is the kind of solution one gets when attracted by the [[hammer]] effect and seeing the nails all over. | This is the kind of solution one gets when attracted by the [[hammer]] effect and seeing the nails all over. | ||
[[Category:APIDesignPatterns:Anti]] | [[Category:APIDesignPatterns:Anti]] |