3 ms·
I disagree about lens. My new projects don't use them in main code-base and it was a great decision: - TAGS work like a charm to access field definitions - co
by k_bx 7y ago
I disagree about lens. My new projects don't use them in main code-base and it was a great decision:
- TAGS work like a charm to access field definitions
- compile times are ok
Of course, if library's API needs lens, they're used.
- deleted 7y ago[deleted]
- exceptione 7y agoWhat do you mean with TAGS?
- sanityinc 7y agoPresumably etags/gtags/hasktags etc., ie. having built a TAGS database for such a helper program, you can use it in an editor to jump from a field name to its definition. That wouldn't be the case with a lens accessor.
- k_bx 7y agoFile named TAGS generated from hasktags (in case of Haskell) that gives you an easy way to "jump to definition" from Emacs or other editors. Good way to navigate codebases even if you don't know how to build them.