logoalt Hacker News

nrhrjrjrjtntbttoday at 6:45 AM1 replyview on HN

What is the best way to show code?

I really want to show some code. Like 4-5 lines to give a gist.


Replies

KeplerBoytoday at 8:56 AM

Just do it. There's nothing wrong with it, if that's the kind of talk you want to give.

Look at stuff by david beazley, matt godbolt or casey muratori. They all have talks which focus on small pieces of code and i'm sure it's a tremendous effort to frame that well enough and pace it appropriately, but it sure works for them (and me watching their talks).