TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nice try, kid ...

33 pointsby catalinistover 17 years ago

6 comments

umjamesover 17 years ago
I actually did something similar when I was in middle school. The teacher wanted everyone in the class to write something like that 500 times and turn it in the next day.<p>I went home and ran the following program on my Apple IIe:<p><pre><code> 10 FOR X = 1 TO 500 20 ?"I will behave myself in class" 30 NEXT X PR# 2 RUN </code></pre> With the printer plugged into slot 2 on the machine, this sent the output of the program to the printer.<p>Needless to say the teacher was not impressed the next day, when I handed in several sheets of linefeed printer paper. I was impressed however.<p>He made me write it by hand about 100 times instead of 500.
评论 #107051 未加载
frankusover 17 years ago
Not as high-tech, but I once got caught writing a column of "I"s, a column of "will"s, a column of "not"s, etc.
dkokelleyover 17 years ago
I find it funny that many of these comments are on ways the code could be improved. We are a strange bunch of people indeed. Still, I laughed when I saw this image.
评论 #107382 未加载
mrtronover 17 years ago
Should have wrote it in Python to save a few lines :)<p>for x in range(500): print 'I will not throw paper airplanes in class.'<p>Or perhaps Arc!
评论 #106990 未加载
评论 #106936 未加载
评论 #107092 未加载
chengmiover 17 years ago
Now all he has to do is compile, link, and load!
mattmaroonover 17 years ago
Cute, bizarre, clever. Good.