Programmers who don't use autocomplete,how do you write long imports? 1 points by rimlessspecs 25d ago ↗ HN Suppose you are using Java or C# or Python without IntelliSense/Autocomplete. How are you able identify long import names? Do you peek in package or documents or any other way?
[–] mittensc 25d ago ↗ copy paste from the other files that I'm importing?, after checking out docs and what it does (and how)
[–] MiroslavPokorny 25d ago ↗ You could also not use taps in toilets at home, and walk to the local river or something... but why would you ?
[–] micahdeath 25d ago ↗ You'd create macros or templates. In C# & VB.NET you can alias your imports for simpler/smaller code below.Imports Word = Microsoft.Word ' VB using Word = Microsoft.Word // C#Imports you only do once so that wouldn't be a huge pain... Though, SOLID/DRY would be a pain with many more imports.
4 comments
[ 2.4 ms ] story [ 45.3 ms ] threadImports Word = Microsoft.Word ' VB using Word = Microsoft.Word // C#
Imports you only do once so that wouldn't be a huge pain... Though, SOLID/DRY would be a pain with many more imports.