Re:Ask HN: What did you do to improve your company?
by gmadsen on Tuesday September 08, 2020 @03:54PM
(#24412359)
i feel like there is an appropriate middle ground somewhere between "shiny-new-toy" and ncurses...
Re:Ask HN: What did you do to improve your company?
by grandinj on Tuesday September 08, 2020 @04:19PM
(#24412768)
It's probably a 15+ year old application, which, if it was web-based, would be built on 2-3 out-of-date webstacks, badly joined together, with who knows how many security flaws.
Compared to maintaining that, ncurses doesn't sound too bad.
Re:Ask HN: What did you do to improve your company?
by lemoid on Tuesday September 08, 2020 @04:21PM
(#24412798)
True.
I used to provide dev teams with cli tools (testing, infrastructure debugging, etc.). They used them from time to time but only after implementing basic gui with tkinter or simple html/js/css they started to use them more often. I prefer terminal more than gui but if you don't use terminal 90% of the time it's much easier to click the button on a website.
2. Remove any "shiny-new-toy". A perfect example would be my bank, which operates in ~15-20 countries: Their interface isn't a shiny web interface with pretty animations to cover up a slow response time. The interface all employees use is built with ncurses. That speaks volumes.
3. Profiling the code and by doing so find unnecessary bottlenecks.
4. Never blindly reinvent the wheel. If a solution looks absurd but is highly used, chances are the solution is there to cover an edge case. Ask before you decide to "fix" it.