Live data from Hacker News

Log driven programming (2013)

antirez.com

11–20 of 69 posts

Re: Log driven programming (2013)

#11
post #10

Yep, a notepad with a direct step by step 1 liners is very effective to get a ton done in one day. Have it between you and the keyboard so it can't be ignored, presumably not ruining your typing experience. Straight up notepad or sublime works too.

"Straight up notepad" means notepad.exe nowadays? That is really interesting

Re: Log driven programming (2013)

#12

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

Over the past 20something years of being a developer I've found there are a lot of things that seem obvious to me now that junior developers don't do by default. Looking back I wonder when I started doing all these obvious things. Presumably, if I didn't discover them myself, it was when I was told about them or I read about them. If no one is writing these "frivolous" things down then how will juniors learn?

If this helps a few new devs who don't have access to a good mentor (because, say, their mentor makes assumptions about what's obvious..) to tell them about this idea then it's automatically a useful post.

Re: Log driven programming (2013)

#13
post #8

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

"Common sense is not so common." - Voltaire

Yep.

One of the (painful) things I learned and continue to learn once I got into tech coaching is how much stuff we do without thinking about it. It gets into muscle memory and it's gone, as it should be. This is one of the reasons mobbing is so successful -- and why it doesn't make a lick of sense to anybody who codes for a living.

So no, there's no level of detail here that I think would be too much. (It may or may not belong on HN, and there's a question around how to organize this detail so that it's useful for folks, but those are different questions from whether or not it has value)

Re: Log driven programming (2013)

#14
post #10

Yep, a notepad with a direct step by step 1 liners is very effective to get a ton done in one day. Have it between you and the keyboard so it can't be ignored, presumably not ruining your typing experience. Straight up notepad or sublime works too.

"Straight up notepad" means notepad.exe nowadays? That is really interesting

Haha, thank you for making me feel young for a minute :-)

Re: Log driven programming (2013)

#15

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

Yes you are a very clever person, who doesn't need this blogpost. Good for you.

Re: Log driven programming (2013)

#17
post #8

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

"Common sense is not so common." - Voltaire

I type while programming, I call it typing driven programming, it's part of the Voltaire family of programming methods.

Re: Log driven programming (2013)

#18
Had the same idea as I noticed that working in a nested way slowed me down a lot. Been trying to do this but I often lack the discipline to actually work this way and not dive into the local improvement I just thought of.

Re: Log driven programming (2013)

#19

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

You’re oversimplifying. The key point isn’t the note-taking, it’s about putting newly discovered sub-tasks on a backlog rather than tackling them immediately. It’s good advice, and not something that comes naturally to everyone.

“Thought-driven programming” is a good idea, of course, but are you thinking in an effective and productive way? Are there approaches you can use to be more effective? I hope you agree that there might be some value in identifying and teaching such approaches.

Re: Log driven programming (2013)

#20

How is something as frivolous as taking notes while programming, which many people do, worth a blog post and a mention here on HN? Let alone turning it into some dogmatic principle to work by, by calling it 'log driven' programming. What is next? Keyboard driven programming? 3-monitor-driven programming? I do this: While programming it pays off to stop and think about the code. I call this, thought driven programming…

In my experience, not a lot of developers manage to organize their thoughts well enough to write them down.

Maybe you manage to work with only people who can write down their thoughts coherently. But that's the rare exception and not the norm.

Post reply on HN