Genuine question, why use both Sublime and NP++?
- 0 Posts
- 3 Comments
Joined 2 years ago
Cake day: July 8th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Elderos@sh.itjust.worksto Programmer Humor@lemmy.ml•This code is blood sacrifice-dependentEnglish0·2 years agoIt does not get more complicated to split your example. What gets more complicated is giving all sort of unrelated responsabilities to a single class, simply because it is the path of least resistance.
In your example, all you need is an extra module listening for configuration changes and reacting to it. This way you leave your context-specific logic out of your data model, no need for cyclic dependency. There are so many downsides to cyclic dependency, to justify it because splitting your logic is “too complicated” really isn’t a strong argument.
Why bother with NP++ if you already own sublime, which is arguably equivalent or better, is my question. I use Sublime and I am wondering what feature could be missing to justify still having NP++ installed.