HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bogomog

no profile record

comments

bogomog
·25 days ago·discuss
I was mildly disappointed the other day when I did a <C-h a>, and instead of "apropos" I saw "search for command". Apropos was one of those killer features that was, as far as I know, unique to emacs (until the "command palette" appeared in one of the newer editors).
bogomog
·26 days ago·discuss
20 or 25 years ago it almost never crashed. Now I might see a crash or freeze once a week or so. And slowdowns several times a day. Of course I'm running more modes now in a more customized environment. Hopefully this new version with more in it will improve the situation.
bogomog
·3 months ago·discuss
A modernization, really.
bogomog
·8 months ago·discuss
My favorite, kind of ironic, advantage of tubes over transistors is that it's easier to source replacements.
bogomog
·8 months ago·discuss
But capacitors may hold high voltage DC, if there's no path to discharge them.
bogomog
·10 months ago·discuss
The arc of the U.S. economy over the last 80 years contradicts your position. There has been reduced regulation since the Reagan administration, and also reduced competition. A few blips when internet companies "disrupted" an existing industry, but those industries fairly quickly consolidated on a small group of players.
bogomog
·10 months ago·discuss
And to add to this, you rarely need to read a log message when just visually scanning code, its fine going off the screen.
bogomog
·10 months ago·discuss
That's why Python should have gone all-in on significant spaces: tabs for blocks, spaces after tabs for line continuation
bogomog
·10 months ago·discuss
I find it jarring compared to commas after the words, making the commas unnecessarily prominent.
bogomog
·10 months ago·discuss
+1 to this. Why throw away an extra dimension of expression available by choices in formatting in the name of consistency? I find it helpful to use blank lines to separate code into "paragraphs". A complex conditional may be made more readable by extra space in some places an not others. A series of single line if statements might be clearer formatted lined up vertically, like a table.
bogomog
·11 months ago·discuss
yes
bogomog
·11 months ago·discuss
Aye.
bogomog
·11 months ago·discuss
Yeah, that stood out to me as a virtual tie also. When I got pretty good at debugging was when I began to recognize which of these approaches would likely be most effective in a given situation, and when to back out and use another approach, or mix approaches.
bogomog
·last year·discuss
I think graphical debuggers are a big help: 1. It separates the meta-information of the debugger into the graphical domain. 2. It's easier to browse code and set/clear breakpoints using the mouse than the keyboard.
bogomog
·last year·discuss
That's why I gave the caveat that if using a language with the ternary operator, one should know that operator. Python tried using English words for a ternary, but I think that's awkward from a readability perspective. A limited set of symbolic syntax improves readability over using words in my opinion, there's less text to scan.
bogomog
·last year·discuss


  function getOddness(n: number):
    return (n % 2 === 0)
      ? "Even"
      : "Odd";
Lowest boilerplate makes it the most readable. If working in a language with the ternary operator it ought to be easily recognized!