3 ms·
How can I sell your idea? I easily find my way in messy codes with grep. With modules, I need to know where to search to begin with, and in which version. For
by jraph 4y ago
How can I sell your idea?
I easily find my way in messy codes with grep. With modules, I need to know where to search to begin with, and in which version.
Fortunately, I have never had the occasion to deal with microservices.
- nailer 4y ago> With modules, I need to know where to search to begin with You can just grep / search all the files. > in which version. grep / search doesn't search through time whether you're using one file or many modules. You probably want git bisect if you can't find where something is anymore (or 'git log' if you have good commit messages),
- hgsgm 4y agogrep can search multiple files at once.
- jraph 4y agoI actually use ripgrep. But modules can be in different repositories I haven't cloned yet.
- mypalmike 4y agoRepo search.
- dmitriid 4y agoJust use a proper IDE. It doesn't care about how your code is structured and can easily show you what you look for in context. (And other tools like symbol search https://www.jetbrains.com/help/idea/searching-everywhere.html https://www.jetbrains.com/help/idea/searching-everywhere.htm...)
- surprisetalk 4y agoI'm unsure how to "sell" this idea. I don't want to force my view on others until I truly understand the problem that they're trying to solve with modules/microservices. For searching multiple files, ripgrep works really well in neovim :) [1] https://github.com/BurntSushi/ripgrep https://github.com/BurntSushi/ripgrep