zlacker

[parent] [thread] 0 comments
1. throw1+(OP)[view] [source] 2022-10-20 16:34:09
Both of these problems are pretty easily overcome.

> it's also nice to be able to re-open your text file in 5 years, when development on the IDE has stopped and it no longer runs on current operating systems

Export the code to normal text, manually translate the images to ASCII or just keep them as Markdown-style links to images.

The cognitive benefit from having actual images in your code will massively outweigh the expected small one-time cost of having to perform a one-time task to migrate them a fraction of the time (and it's more likely that a particular software project will die than an editor that it's written in).

> I have been bitten by lingering obsolete state from re-running cells or code blocks

Make cells explicitly show you what state/inputs they use.

If you're not using purely functional programming languages or design patterns, then having the ability to re-use state will also massively outweigh the occasional transient issues from accidentally doing so.

The upsides of both of these techniques massively outweigh the downsides. Not to say that you have to use them, of course - there are still people trying to implement large software projects using UNIX shell scripts.

[go to top]