Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If my focus is on my content then I'm probably not programming. But if my focus is on getting the computer to do something then I probably am, even if the end result is identical.

But the part that "does something" is the display-txt or display-html command that already exists.

I'd say that even something as small as setting up an alias for "display-txt your_file.txt" can be programming. But I don't see the act of writing your_file.txt as programming.

I don't think the exact example of feeding an empty file to a compiler is programming, even if you think it definitely is. It's playing around with commands to see what they do. It's like buying a box of lego, opening the box and seeing if any are connected already, and then walking away; you didn't build any lego today, you were so close but you didn't. Nothing about an empty file makes it "written in C", even if the intent is throwing a C compiler at it, and you need to be writing C in this situation if you want to say you're programming.

> In your specific example, if someone constructed an ASCII file which made use of the control codes to do something interesting (or even something boring!) then wouldn't that be programming? While typing ASCII into this text field isn't programming because the value of the information is in the human interpretation of the content rather than the machine having interpreted the content as code.

I need an example here.

ASCII art isn't programming.

If you tossed in something to reset your cursor position and made animated ASCII art, I still wouldn't call that a program, I would call that a weirdly formatted video file. And that's really cool but it's cool in a different way. And the value is still in the human interpretation.

If you're going to feed it into python.exe then it's probably code, but that's why originally talking about "programming languages" is a lot clearer. Your programming language in that situation is python. You are not using plain text as a programming language.

If you noticed BEL makes a beep and you use that to make noise or somehow music when the file is dumped to console, I'm not going to say you're using a programming language there either.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: