Re:Please do not attempt to simplify this code
by tracker1 on Friday December 28, 2018 @06:00AM
(#18776106)
Not to language bash, but situations like this are why I avoid "enterprise" patterns and abstractions. Not that they aren't ever useful, but they're often implemented before they are needed, or not needed at all in practical terms. Some C# and Java tend to be some of the worst examples I've encountered. Even if the languages themselves can have much simpler implementations.
Re:Please do not attempt to simplify this code
by geodel on Friday December 28, 2018 @10:32AM
(#18777265)
Java has these scaffolding developers who spend great deal of time in writing, 'ticket booking', 'toy/video stores' etc with all technology, framework, libs they are looking to learn. None of this code does anything useful but developers add to their resume claiming they developed reservation systems and e-commerce platform with mongoDB or whatever.
I'd add this kind of bullshit started directly from Sun Microsystems when they gave us Java EE blueprints to develop end-to-end enterprise solutions in all seriousness.
Re:Please do not attempt to simplify this code
by AlexCoventry on Friday December 28, 2018 @02:34AM
(#18775347)
> "how did I get here?"
In emacs go-mode, pop-tag-mark will take you back to where you jumped from.
Re:Please do not attempt to simplify this code
by TeMPOraL on Friday December 28, 2018 @02:45AM
(#18775374)
I know.
It'll take me one level up, which is not sufficient to answer my question, and by the time I find my bearings again, I have to jump back down a couple levels.
I've done a lot of this, both for Common Lisp codebases in Emacs, and for Java codebases in IntelliJ. Having to jump around and remember stuff eats into "7 ± 2" short-term memory limit that you need for the code you're working on.
(With Emacs, it's at least a tad easier to split the window to have 4+ different in view at the same time.)
Re:Please do not attempt to simplify this code
by AlexCoventry on Friday December 28, 2018 @12:53PM
(#18778248)
Yeah, I like to use a couple of big monitors plus my laptop screen, and have all the relevant code visually accessible at once.
I did, in an IDE, and I can tell you, jump-to-definition removes the problem of "what file do I have to open now?", but still leaves you with the questions like "where am I?", "how did I get here?" and "what was I trying to understand, again?", which you start asking yourself after ~sixth jump.