Link Details

Link 93303 thumbnail
User 111696 avatar

By bloid
via arcanesentiment.blogspot.com
Published: Jul 10 2008 / 07:22

In any significant program, a great deal of code is spent on two activities that have very little intrinsic interest: I/O and error handling. This makes them good targets for language design. If a language can make these two areas easier, it can remove a significant part of the accidental complexity of programs. Conversely, a language in which either is difficult is a language in which effort is wasted on uninteresting problems.
  • 8
  • 0
  • 903
  • 209

Comments

Add your comment
User 281687 avatar

paul_houle replied ago:

0 votes Vote down Vote up Reply

There's an interesting and controversial concept here, the idea of I/O operations that read a whole file.

"Big" languages like Java and C# require the creation of several objects to access a file, and require access to be done in a streaming mode. PHP and arc, on the other hand, let you do something like file_get_contents()

Streaming mode access is certainly better than whole-file access when files are large, but I often end up finding problems in C# and Java programs where people make mistakes with the more complex API's.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)