Disk Output is an actively used design pattern. Many programming languages have the capability to write to disks using system calls.
- Have a question about Disk Output not answered here? Email me and let me know how I can help.
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