Log in

View Full Version : arguing about code (on the internet)



traq
12-10-2012, 10:00 PM
Worth watching.

arguing about code (on the internet) (http://vimeo.com/53218578)

bernie1227
12-11-2012, 12:54 AM
Very nice, I watched the whole 53:26. The thing I was most surprised about was probably that Sweden doesn't have operation.

traq
12-11-2012, 02:04 AM
Very nice, I watched the whole 53:26. The thing I was most surprised about was probably that Sweden doesn't have operation.

yeah, that analogy fell flat on its face!

bernie1227
12-11-2012, 04:27 AM
However, a lot of that advice could definitely be taken into account here on dd.

djr33
12-11-2012, 04:37 AM
I wish I had a little more time to focus on that. I watched the first five minutes and it was interesting and apparently useful-- I learned some new things too. Whenever I have 50 minutes I'll check it out.

bernie1227
12-11-2012, 04:44 AM
I think the most relevant part to dd is the last 20:00 or so in which he discusses tangents off of conversations, or as he calls them, 'derails'.

traq
12-11-2012, 05:06 AM
It's all about arguing productively (where an argument really is an argument, and not a fight or flame war) and developing good communication skills. He explains it all very nicely, too.

bernie1227
12-11-2012, 08:03 AM
Another part of it is also arguing about something worth arguing, and not, as he says, having the argument about tabs or spaces for the rest of eternity.

Beverleyh
12-11-2012, 09:04 AM
Interesting video - I listened to it while I was getting ready for work this morning.

I think I fall into the category of not being able to seperate the problem from the person - must try harder.

traq
12-11-2012, 04:08 PM
tabs or spaces...

don't even go there

:p

bernie1227
12-11-2012, 11:52 PM
Surprisingly, I've never had the tabs vs spaces argument, and I'm not actually sure which I prefer.

djr33
12-12-2012, 01:46 AM
As long as it's one or the other.... haha. Either one is the right answer if it's compared to "efficiently written code" with no formatting ;)

traq
12-12-2012, 03:00 AM
As long as it's one or the other... ;)
SO very correct.


Surprisingly, I've never had the tabs vs spaces argument, and I'm not actually sure which I prefer.
Personally, I prefer spaces - though it wasn't always that way. Some reasons I switched:

... tabs end up displaying v e r y w i d e on some websites (github in particular); making it inconvenient to read tab-indented code.

... I started studying python, where indentation actually matters (four spaces signifies a code block, like { brackets } do in php).

... I got a code editor that supports using spaces instead of tabs (and still treats them like tabs: stepping over them, everything still lines up, etc.).

there are other reasons, but I've forgotten them. I'm very comfortable with spaces now. As Daniel says, as long as you choose one-or-the-other.

djr33
12-12-2012, 03:09 AM
I prefer tabs because they're easier to type. But I often find code with spaces in it so I'll use those consistently to make it match. I don't really care.
I do end up using spaces often enough because of typing code when I can't use tabs-- such as on DD. Then I end up with spaces instead of tabs. It's a little more to type.
But... it does the same thing. I didn't realize it was such a big debate, haha.

traq
12-12-2012, 03:43 AM
...:p... (http://www.google.com/#hl=en&tbo=d&sclient=psy-ab&q=tabs+vs.+spaces&oq=tabs+vs.+spaces&gs_l=hp.3..0j0i30l3.1337.5463.0.5601.15.15.0.0.0.0.103.1039.12j2.14.0.les%3B..0.0...1c.1.fybE2-zBqbE&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.1355272958,d.cGE&fp=feb508ca5201bf6f&bpcl=39942515&biw=1268&bih=812)