Disk Output is an actively used design pattern. Many programming languages have the capability to write to disks using system calls.

?Years Old
  • Have a question about Disk Output not answered here? Email me and let me know how I can help.

Languages without Disk Output include css, haml, json, xml

Languages with Disk Output include nodejs, python

Example from nodejs:

require("fs").writeFileSync("foo.txt", "foo", "utf8")

Example from python:

with open('helloworld.txt', 'w') as filehandle:
 filehandle.write('Hello, world!\n')

Last updated August 9th, 2020

Edit Disk Output on GitHub