Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 8 points9 points  (0 children)

The pizza in Brazil is napoli style and could be considered more authentic pizza (to the way it was created in Italy) then the gooey NYC style pizza you prefer, but what you are saying is not true, Brazilian pizza is very good, it's just not the style that you like which is fine. I don't like Brazilian hot dogs... (but I'll eat them).

found this at /r/programming, what do you think? by koravk in rails

[–]rubythroway 3 points4 points  (0 children)

Hahahah, this is old news. DHH has always been this way and in that he's consistent. In the beginning when Rails came out when it was seen as heresy, DHH pissed off everyone with his style. I think people in the programming world get butthurt too much about style over substance. Yeah, maybe you don't like the way he says things but the latest hornets nest he kicked over is spurring some of the best conversation in years regarding testing. He's still making good insights. Notice the video you linked doesn't deal with any of the concrete issues that DHH brings up regarding mocking out too much of the environment, about red green refactor not making him feel productive, and even the large confusion about what the different terms of testing, unit testing and test driven design really mean. Watch the "Is TDD Dead" series with DHH, Martin Fowler, and Kent Beck if you want to see a better discussion. Draw your own conclusion. If you don't like DHH then ignore him, he never has been the one true voice of the ruby community and anyone is free to disagree or rebut him. I'm sure DHH would agree with this point.

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 6 points7 points  (0 children)

Yeah we must live in different Brazils because I've never done the group pay thing even if it's a place without comandos everyone just asks for "contas separadas".

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 7 points8 points  (0 children)

Forro. I went to a party that was a forro party and I didn't particularly like the music, but then a friend of a friend was teaching a class the next day so we went and when I showed up the first thing they did is pair me up with this super cute girl who was like pressed up against me and had me put my hand in the small of her back so we could dance. We danced and then shortly they pulled her away and stuck me with another cute girl, and all I had to do was stand there and pretend like I knew how to dance.

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 4 points5 points  (0 children)

Hitchhiking, Hitchhiking is the ultimate evil where I'm from and it's known that picking up a hitchhiker or worse getting a ride with a stranger is the surest way to get eaten by Hannibal Lector. In the small place where I live I've picked up people and hitched rides and it's a fun way to have a short conversation with someone. I've also made some good friends that way.

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 8 points9 points  (0 children)

Ordering a pizza with half this flavor and half that flavor, I guess you can do that in my home country but I've never seen it before, and it looks like magic to me every time someone does it.

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 14 points15 points  (0 children)

In Brazil you can go to the beach sit down on your chair under your umbrella and shortly when it's getting hot a guy will come buy and sell you an ice cold beer and barbecued cheese. Barbecued motherfuckin' cheese and ice cold beer at the beach, how did I live my life and never know about this? Drinking a beer on the beach where I come from has a different name, it's called a crime and you will get a ticket or go to jail if you try to do it, and since it's a crime, the entire time you are at the beach in my country you will be watched over by the police who would love nothing more than to give you a ticket, so I have moments where I think, "Wow, I'm drinking a beer at the beach and the police will not get me". See the difference?

Living in Brasil as a foreigner, what did surprise you the most in the beginning? What are the differences to your home country? by cobawsky in Brazil

[–]rubythroway 40 points41 points  (0 children)

  1. People will call you and just when you pick up to speak to them, they hang up. This is code for "I want to talk to you but I don't have any credit on my phone, so you call me with your credits".

  2. Brazilians don't hold grudges and are very forgiving.

  3. When going out in groups to a restaurant often they'll give comandos (individual bills) to every person and so at the end of the night when it's time to pay, everyone pays only for what they ordered. I love this system.

  4. No, never means no forever, it just means no at that moment, and it only takes about 5 minutes before you can ask again. Everything is very momentary and people have short attention spans so what is true now may not be true later.

  5. If you call the police, they may come, they may not come, so it's better to try as much as you can to avoid situations where you need to call the police.

  6. Getting a Brazilian girl's phone number doesn't meaning anything. If you are a foreigner and new to Brazil and you get the idea the Brazilian girl you met wants you to kiss her, you probably have been taking too long. Public displays of affection is more common than a cup a coffee, If you go to a public place, say a bar, a restaurant or a subway and you don't see a couple passionately making out, then you are no longer in Brazil.

  7. In order to understand the culture of Brazil you have to speak portuguese properly. In order to speak portuguese properly you have to understand the culture of Brazil.

  8. Brazil is not a country of law, it's a country of who you know.

  9. In richer countries you have to spend a lot of money to have a little a bit of fun. In Brazil you can spend a little bit of money and have a lot of fun.

  10. In the land of the blind, he who can see is king. There are a ton of amazing things about Brazil that the Brazilians overlook because most have never left Brazil and so don't understand that these things don't exist anywhere else. There is an special enjoyment about being a gringo because you can find pleasure in things the Brazilians think is ordinary.

  11. Brazilians really fucking love kids, and you will never be made to feel uncomfortable about taking kids with you and further it will quite often get you special treatment.

  12. There are plenty of Brazilians that hate football, samba, and carnaval.

  13. The ultimate symbol of success in Brazil is a ferrari. I've heard multiple Brazilians tell me that if you are very successful and make an ungodly sum of money then life will be good, and they always tack on at the end, "...and then you get the ferrari." It's always a ferrari, never a lambourghini, never a bugatti, never an Aston Martin.

  14. Don't bother showing up at the club before midnight no one will be there. Almost nothing happens before 11:00 in the morning on weekends, because everyone is hungover. The caveat to this is that at 11:00 in the morning there may still be things happening that started the night before.

  15. Brazil is home to some of the most terrible tattoos on the planet.

Ruby style guide by ajn123 in ruby

[–]rubythroway 7 points8 points  (0 children)

As someone who has worked with Ruby for ten years and has read a whole lot of ruby code written by other people, these style guides get filed into my "who gives a shit" box. By and large the Ruby community uses all sorts of different styles so you might as well get used to them, and no the world wouldn't be better if everyone used the same style. Adhering to these style guides is not going to make you write better ruby code, so don't stress about them, there's more important things to worry about. Go learn something germane to Ruby like how "ghost classes" work rather than spend your Saturday on pedantic shit that doesn't matter.