Good point Mohamed, and i must say , here i have to quote wikipedia's definition for simplicity:
Feelings are affective states of consciousness. They are
typically triggered in biological beings by information in the physical
world and, in the case of humans and complex animals, thoughts. Note,
however, that feelings can arise even in the absence of physical
information.Now, i have some lines to draw on that...
A) States of conciousness... did i read that right? i tink i did, and i think that is a very useful thing that we can all relate to very easily... STATES... how many times have u had to design a system or code that had different 'states' in it to the approach? maybe that is really all we need to imply to generate machine FEELINGS... i'm saying we're not going to develop machines that will laugh and joke, but will assess the situation according to their STATE of mind...
B) typically triggered in biological beings by information... ie, thoughts... now i think this is also very interesting... so following the model i was just talking bout, these states of conciousness [or you may think of them as different code paths to be executed] are determined and generated by the information gathered from the AI agent's environemnt... now this would truley build up on the use of these 'machine feelings' and would thus start to present itself in a more 'engineering' sense, as apposed to just dreams...
C) feelings can arise even in the absence of physical information... finally, the very peculiar point of perception... why DO we get affraid? is it because we have a bad memory that when we [or someone else] did 'this' they got 'hurt'? or is it simply that we do NOT know of anyone [us or anyone else] doing this before, and we do not know if we would get hurt? now these two concepts again put us in a situation where the system would benefit from 'machine fear'... in cases where executing a certain instruction or action [program, etc] have led to previous mishaps and damage to the system, perhaps the AIAgent should be more careful... similarily, it would be quite useful to be careful the first few times u run an un-signed program for example [firewalls, anyone?] just to make sure ud get to know it first...
So, what im saying is... if we take by the Wikipedia's definition, then emotions and feelings are somehow a sort of 'thought state' presenting different branches on the 'decision tree' for the party involved... in that sense, it would be very beneficial to develop machine feelings, to help correctly shape and evolve the machine code...
But, i pray to you, would u ever imagine use of having your computer weep after playing a sad movie..?