Is programming an art?

You can talk about almost anything that you want to on this board.

Moderator: Moderators

Is programming an art?

Yes!
21
75%
No!
7
25%
 
Total votes: 28

psycopathicteen
Posts: 3001
Joined: Wed May 19, 2010 6:12 pm

Post by psycopathicteen »

UncleSporky wrote:
tokumaru wrote:Interesting... Does that code work though? If you consider that bits 1 through 7 of $4016 can return open bus and Famicom controller data, these could easily screw up previously read button states.
Art is supposed to make you think!

Image
You can't STX #8.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

And you don't even need to use X when reading the controller anyway; you can use the result variable itself as the counter. Now that's art, if I do say so myself.
3gengames
Formerly 65024U
Posts: 2281
Joined: Sat Mar 27, 2010 12:57 pm

Post by 3gengames »

tepples wrote:And you don't even need to use X when reading the controller anyway; you can use the result variable itself as the counter. Now that's art, if I do say so myself.
I use X to see which controller I'm reading, I consider that art too. :lol: So many ways to do one thing, it's insane. :P
UncleSporky
Posts: 388
Joined: Sat Nov 17, 2007 8:44 pm

Post by UncleSporky »

I just grabbed it from an old topic I made ages ago, I'm not surprised it's full of errors. It's just to be silly. :P
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

Funny pic. :)

Yeah, I think this discussion (inevitably with this kind of question) quickly becomes kind of a semantics debate. What is art, what is "not art", and what is programming.

My philosophy is that art and science are 2 sides of the same coin.. or think of it as a yin-yang, if that makes more sense. You can't really have one without the other, I think. A musician could hardly write a song without using the concepts left behind by Pythagoras. A painter couldn't paint without someone having used a method to discover what materials can create what color.

And we can hardly have science without creating a hypothesis (sort of an expression of belief, I suppose), and inventing experiments to prove or disprove them. Surely there is a bit of art in those processes. Otherwise someone could create a computer program to create hypothesis and design experiments, and eventually we would know the answer to everything - that probably won't happen. :)

So yeah, just like no one will claim that creating a soundtrack to an NES game is a science, it's able to work because it's using a very specific bit of audio code and/or look-up tables. And in the same way, programming a game requires a good deal of artistic vision to design it in the first place. If it can't be said that implementing physics in code is art (or maybe it can?), or writing a PPU scroller, for sure applying those physics or scroller into the gameplay is an art.

So I've abstained from voting, because I feel like I could vote either way. (but I'd tend towards yes, because of the implications of asking here, where we program games)
psycopathicteen
Posts: 3001
Joined: Wed May 19, 2010 6:12 pm

Post by psycopathicteen »

UncleSporky wrote:I just grabbed it from an old topic I made ages ago, I'm not surprised it's full of errors. It's just to be silly. :P
I love the quote bubble. That guy is acting like ASM programming is common knowledge.
User avatar
ehguacho
Posts: 83
Joined: Tue Mar 09, 2010 11:12 pm
Location: Rosario, Argentina
Contact:

Post by ehguacho »

design a full system from scratch is, IMHO, a form a art. anyway, which are the feelings or emotions behind Andy Warhol's soup cans or Jackson Pollock's pictures? i think that everything that came up from human's creation is a form of art, and programming it's all about creation, coding is just the last touch. i bet that there's a lot of people in this forum who are better programmer than Bill Gates, but he's on top because i had lots of great ideas, and that's because he was creative. so, voted for YES (:
sorry about my english, i'm from argentina...

http://nestate.uuuq.com
User avatar
Banshaku
Posts: 2404
Joined: Tue Jun 24, 2008 8:38 pm
Location: Japan
Contact:

Post by Banshaku »

Code: Select all

not_drunk_yet:
	
	inc good_times
	lda good_times

	adc #BEER 
	
	sta in_stomach   

	; TODO: Control yourself
	
	bvc not_drunk_yet
throw_up:

	jmp clean_the_mess

tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

psycopathicteen wrote:I love the quote bubble. That guy is acting like ASM programming is common knowledge.
If you appreciate that kind of humor, you'll love xkcd.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Banshaku wrote:

Code: Select all

not_drunk_yet:
	
	inc good_times
	lda good_times

	adc #BEER 
	
	sta in_stomach   

	; TODO: Control yourself
	
	bvc not_drunk_yet
throw_up:

	jmp clean_the_mess

This reminds me of last night (sans the "throw_up" part, fortunately!)... =)

Although tonight might not be so different either! XD
User avatar
Banshaku
Posts: 2404
Joined: Tue Jun 24, 2008 8:38 pm
Location: Japan
Contact:

Post by Banshaku »

I just made that up fast based on the comment before that "art should make you think".

If you look at the code, it will only "throw_up" on an "overflow" flag. It was on purpose. But it would always overflow because it couldn't "control itself" because it was never implemented, or in other words, has no self control.

At the end I wanted to put an rts after the throw_up label to say that it could actually end up out of control since it was not a function and we don't know what is the last value on the stack, so the the rest of the job (in that case cleaning) would have never been done but it would have been a far fetch. But still.

As for the actual question, this is an eternal debate that will go nowhere so I better not get into it.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Banshaku wrote:At the end I wanted to put an rts after the throw_up label to say that it could actually end up out of control since it was not a function and we don't know what is the last value on the stack
Drunk people often have trouble remembering to where they are supposed to go, so a random value at the top of the stack is just perfect! =)
Drag
Posts: 1350
Joined: Mon Sep 27, 2004 2:57 pm
Contact:

Post by Drag »

You guys are nuts. ;)
User avatar
ehguacho
Posts: 83
Joined: Tue Mar 09, 2010 11:12 pm
Location: Rosario, Argentina
Contact:

Post by ehguacho »

tokumaru wrote:
Banshaku wrote:At the end I wanted to put an rts after the throw_up label to say that it could actually end up out of control since it was not a function and we don't know what is the last value on the stack
Drunk people often have trouble remembering to where they are supposed to go, so a random value at the top of the stack is just perfect! =)
lol, muito engraçado xD
sorry about my english, i'm from argentina...

http://nestate.uuuq.com
User avatar
Banshaku
Posts: 2404
Joined: Tue Jun 24, 2008 8:38 pm
Location: Japan
Contact:

Post by Banshaku »

Here's my final version then:

Code: Select all

;
; It's time to party!
; V0.0001a
;
not_drunk_yet:
	
	inc good_times
	lda good_times

	adc #BEER 
	
	sta in_stomach   

	; TODO: Control yourself
	
	bvc not_drunk_yet
throw_up:

	; Ohhhh.... Huupp!
	pop

	; I.. I'@3m fai!iine,..thhajjk ,yooyu.
	rts
Reflects my last comment.
Post Reply