Variables in Ruby


A group of participants were asked to select a negative experience. One group of participants were then asked to have a long chat with a supportive experimenter about the event, while a second group were invited to chat about a far more mundane topic - a typical day.
Participants who had spent time talking about their traumatic event thought the chat had been helpful. However, the various questionnaires told a very different story. In reality the chat had no significant impact at all. They might just as well have been chatting about a typical day.
In several studies, participants who have experienced a traumatic event have been encouraged to spend just a few minutes each day writing in a diary-type account of their deepest thoughts and feelings about it. For example, in one study participants who had just been made redundant were asked to reflect upon their deepest thoughts and feelings about their job loss, including how it had affected both their personal and professional lives. Although these types of exercises were both speedy and simple, the results revealed a remarkable boost in their psychological and physical well-being, including a reduction in health problems and an increase in self-esteem and happiness.
The results left psychologists with something of a mystery. Why would talking about a traumatic experience have almost no effect but writing about it yield such significant benefits? From a psychological perspective, talking and writing are very different. Talking can often be somewhat unstructured, disorganized, even chaotic. In contrast, writing encourages the creation of a story line and structure that help people make sense of what has happened and work towards a solution. In short, talking can add to a sense of confusion, but writing provides a more systematic, solution-based approach.
Remember, good code is like a good joke: It needs no explanation.




Embrace failure, embarrassment, confusion, pain. Don’t go seeking them exactly, but don’t avoid them. If you are at all ambitious and adventurous in anything — entrepreneurship, grad school, dating, whatever, then you will fail spectacularly and often. It will hurt. Badly.
But don’t flinch. Consider it a good thing, it means that life has not forgotten you. As my Buddhist friends like to say, experience what it’s like to feel pain. Remember that it will make a good story to tell your grandchildren, and try again.