3 ms·
You could absolutely write `encapsulate`, but you will lose out on all of the established code completion and other IDE features.
by akx 4y ago
You could absolutely write `encapsulate`, but you will lose out on all of the established code completion and other IDE features.
- TekMol 4y agoHow would encapsulate look like? Would it have a negative performance impact? I don't care about code completion at all. When I type "a", I don't want anything to happen on my screen except for an "a" to appear. I think that all the flickering stuff that the average programmer experiences on their screen burns more mental energy than it saves.
- LittlePeter 4y agoI once had a working "encapsulate" but lost the code. That code was modified version of this: https://docs.python.org/3/library/importlib.html#approximating-importlib-import-module https://docs.python.org/3/library/importlib.html#approximati... My "encapsulate" was 4 lines of code at most IIRC. As someone mentioned, autocomplete in PyCharm did not work.
- _ZeD_ 4y agoI hope you are talking about code you use internally and don't share. FWIW I care about code completion, and using a library that broke my workflow is not fun.