tokoro10g / matlab-langserver

Language Server using MATLAB Engine
13 stars 1 forks source link

Minimize the usage of temporary variables #5

Open tokoro10g opened 5 years ago

tokoro10g commented 5 years ago

Although it is unlikely to cause name conflicts, the usage of temporary variables should be reduced or encapsulated.

For example, these lines should be improved: https://github.com/tokoro10g/matlab-langserver/blob/bfac637e7ab73c8c985e289dacec6ed709d6dfc8/src/main/java/org/tokor/lspmatlab/MATLABTextDocumentService.java#L72-L76