135 karma · joined October 11, 2012
So, it’s not just “like” they are doing it, they are doing it.
- calculates LOC of a top-level method - calculates lines of code for each method called within that - builds an hourglass visualization showing as you go up or down the abstraction layers how the LOC changes
It seems like this might be useful for seeing - where in the abstraction layers there are major changes in density of functions - where there is over-abstraction (many, many tiny functions) - where there is not enough abstraction (a bulge in LOC, or overall large numbers)
Combining this with cyclomatic complexity may provide a more nuanced view for code analysis. It would allow you to quickly hone in on parts of the code-base that have too much density.
As a bored government employee in the early 1990s, I become fascinated with the WWW. I was a network admin (NetWare 2.15c), and there was a fat, unused internet pipe and several unused phone lines. I started to mess around with Linux (Slackware kernel 0.97 I think), and after two weeks I had it talking to a Hayes modem. Voila, instant ISP! A little while later I installed Slirp, and it became my personal dial-up connection for many, many years.
Before I left that job in 1995, I moved the server (headless) to a broom closet (wrong of me, I know, I know). Knowing gov't culture, no one would mess with something like that. It was up and running at least until 1998 or so, at which point I moved to another country, and when I moved back, I no longer had the dial-up number. I like to think it is running to this day.
By rotating where you sleep among your clients, you build stronger relationships and have better insight into their business.
If I am iffy on anything, it would be the templating language, but I suppose a React-type HTML syntax could be optionally layered over top without interfering with anything else. And there is something secure about javascript-rendered HTML in that you are much less likely to have unclosed tag issues, etc.
But for me, having experimented with some of the slower performers like angular, performance is a huge draw, and I am willing to write my templates in js if that's what it takes to get it.