|
Whitespace characters are the brown M&Ms of coding style guides.
|
# ? May 31, 2016 19:59 |
|
|
# ? May 13, 2024 08:02 |
|
Cojawfee posted:He was being pretty reasonable with Gleb since him using spaces instead of tabs would mess up source control. Then he goes full retard with that bartender. They just need a commit hook that reformats the code before the pull request is accepted and ignore whitespace in the diff tool. Frothing over spacing is just bikeshedding to avoid dealing with the real issues of mounting technical debt and paralyzing feature creep. Vim vs Emacs is also a non issue, the source code looks the same in both and noone is forced to use one or the other. Besides, Visual Studio is the superior coding environment. TheBlackVegetable fucked around with this message at 20:47 on May 31, 2016 |
# ? May 31, 2016 20:43 |
|
Ciprian Maricon posted:you're all worse than richard, who the gently caress cares what the code looks like as long as it works The people that are going to be maintaining the code for many years care. You see, the the problem with code is that it isn't 'write once, never touch again'. It will continuously be updated, changed, extended, by many different people over many different years. Consistent styling in your code base makes this easier. Tabs versus spaces may seem unimportant, but it is just a small part of a larger coding style. It is not so much about what you choose as it is about being consistent. And yeah, every serious software company has coding style guides that programmers need to adhere to, typically the bigger the company the more anal they are about it.
|
# ? May 31, 2016 20:48 |
|
Confusion posted:The people that are going to be maintaining the code for many years care. Consistent coding style is irrelevant as long as the logic of the function is not obscured. A good coder should be able to read and modify code whatever style it's in. It's no surprise that bigger companies are more anal about coding styles - they've also got the bloated management and disparate teams that move at a glacial pace and noone communicates what actually needs to be done because they spend all day worrying how their code is formatted.
|
# ? May 31, 2016 21:01 |
|
gently caress the Richard haters, his sissyfit was hilarious. Also, Zach Woods and Martin Starr keep being the best things about this show.
|
# ? May 31, 2016 21:25 |
|
I laughed way too hard about Richard trying to not seem insane about spaces by being glad they are no longer doing things like the Holocaust
|
# ? May 31, 2016 21:54 |
|
waitwhatno posted:People should cut programmers some slack. It's a miserable husks of a real human existence. Let them rant and blow off some steam from time to time. I dunno I'm actually doing fine but thanks for your concern I guess?
|
# ? May 31, 2016 22:22 |
|
FuriousxGeorge posted:The reveal that Russ was right totally makes this episode a 10/10. I will listen to no disagreement. I retract
|
# ? Jun 1, 2016 03:52 |
|
I think the Richard hate comes down to whether or not you like cringe humor. I can't stand it, so I end up muting the TV for about half of Richard's screen time.
|
# ? Jun 1, 2016 04:10 |
|
Cojawfee posted:4 is the correct tab width. Agreed, Richard was justified because she was using 8 spaces... Who does that? I've never had a tab vs. I space arguement but I have had the curly brace arguement. I hope bighead comes out of all this ok, but I don't think that's ever been in doubt.
|
# ? Jun 1, 2016 04:14 |
VodeAndreas posted:Agreed, Richard was justified because she was using 8 spaces... Who does that? I'm really thinking Bighead is going to end up in the three comma's club entirely by failing upwards. There's just no other way it can go, it'd be too beautiful.
|
|
# ? Jun 1, 2016 05:17 |
|
VodeAndreas posted:Agreed, Richard was justified because she was using 8 spaces... Who does that? Regardless of differences in opinion over code hygiene, you really think Richard's behavior toward Winnie was "justified"?
|
# ? Jun 1, 2016 05:22 |
|
waitwhatno posted:People should cut programmers some slack. It's a miserable husks of a real human existence. Let them rant and blow off some steam from time to time. And the work is actually pretty alright, generally good enrichment and perks. Not to mention it makes you super mobile, moving to Munich later this year. Programming owns right now, too bad this gravy train can't go on forever.
|
# ? Jun 1, 2016 07:29 |
|
Martin Starr is the MVP of this show. Let us all remember that he started here: And, while we're at it, Winnie's name couldn't possibly be a nod to Winnie Cooper, could it? Or is that, like, too deep of a nerd reference for this show to make, even with Danica McKellar being a mathematician and all?
|
# ? Jun 1, 2016 08:09 |
|
Jealous Cow posted:Regardless of differences in opinion over code hygiene, you really think Richard's behavior toward Winnie was "justified"? Ignoring the code hygiene that little storyline would never have existed, but it's pretty well established this season that Richard is in over his head in every situation. My previous post was intended to be humourous.
|
# ? Jun 1, 2016 08:56 |
|
TheBlackVegetable posted:Consistent coding style is irrelevant as long as the logic of the function is not obscured. It's not about being "a good coder", if you don't follow a style guide you're asking for unreadable hard to maintain code. Google's style guide explains why you would write C++ a certain way: https://google.github.io/styleguide/cppguide.html Have you ever had to maintain code where all the functions and variables were variations of "a, a2, d3" etc.? Where half the code was in a single never ending line "if(a=b){print($b);$c=$b}function($c){$d=fopen($c);...". People literally write code like this, it's not anal, it's rational. Anyway, tabs for life. Let everyone adjust their IDE to make things look how they like, using spaces enforces your style on everyone else. I love that a TV show can have this argument, it's too real!
|
# ? Jun 1, 2016 09:09 |
|
Jealous Cow posted:Regardless of differences in opinion over code hygiene, you really think Richard's behavior toward Winnie was "justified"? Richard's like a more neurotic Seinfeld, who would weekly break up with a new or potential girlfriend over some almost imperceptible or trivial character flaw. She even seemed to be okay with his anal attitude right up until the time he walked out. Inkspot posted:Martin Starr is the MVP of this show. Let us all remember that he started here: Yes certainly a tug at Gen X nostalgia. Jared's a player and check out the 2 losers in the background.
|
# ? Jun 1, 2016 11:03 |
|
Binary Logic posted:Richard's like a more neurotic Seinfeld, who would weekly break up with a new or potential girlfriend over some almost imperceptible or trivial character flaw. Ok. I like this one. I'm on board.
|
# ? Jun 1, 2016 12:24 |
|
ElCondemn posted:Have you ever had to maintain code where all the functions and variables were variations of "a, a2, d3" etc.? Where half the code was in a single never ending line "if(a=b){print($b);$c=$b}function($c){$d=fopen($c);...". People literally write code like this, it's not anal, it's rational. "As long as the logic of the function is not obscured". Your examples clearly obscure the logic, tabs vs spaces does not.
|
# ? Jun 1, 2016 12:31 |
|
BlindSite posted:Episode was good. I didn't mind the richard subplot but then again I don't have a problem with cringing so hard I feel like I'm going to collapse inside myself. Dude kills it. This guy. This guy hugs.
|
# ? Jun 1, 2016 13:10 |
|
Good to see Mark Cuban embracing his inner russ hanneman. And I just realized the actor who plays him is the same one who was the sound guy on the last season of the office. WOW. Holyshoot fucked around with this message at 16:43 on Jun 1, 2016 |
# ? Jun 1, 2016 16:40 |
|
Holyshoot posted:And I just realized the actor who plays him is the same one who was the sound guy on the last season of the office. WOW.
|
# ? Jun 1, 2016 17:29 |
|
Correct me if I'm wrong but wasn't Russ Hanneman actually based off of Mark Cuban?
|
# ? Jun 1, 2016 17:44 |
|
lifts cats over head posted:Correct me if I'm wrong but wasn't Russ Hanneman actually based off of Mark Cuban? Yes, he is. Mark Cuban literally got rich putting radio on the internet, and has been selling all sorts of ridiculous three comma swag since before Silicon Valley was on air. Like many things on this show, they didn't even have to change reality for it to be funny.
|
# ? Jun 1, 2016 17:55 |
|
Mark Cuban, A: Entrepreneurial laugh-stock coasting on the glories of the dotcom bubble B: Surprisingly talented basketball team owner
|
# ? Jun 1, 2016 18:07 |
|
TheBlackVegetable posted:"As long as the logic of the function is not obscured". Your examples clearly obscure the logic, tabs vs spaces does not. I can read it just fine, you must be a bad coder.
|
# ? Jun 1, 2016 19:32 |
|
Toplowtech posted:Chris Diamantopoulos was also pretty great as a mentally unstable tv executive in the last 2 seasons of Episodes. So it sounds like the character he played on the office isn't really the types of dudes he normally plays?
|
# ? Jun 1, 2016 19:46 |
|
Holyshoot posted:So it sounds like the character he played on the office isn't really the types of dudes he normally plays?
|
# ? Jun 1, 2016 19:56 |
|
That was great. Definitely going to give this show a watch.
|
# ? Jun 1, 2016 20:08 |
|
Episodes is a really, really fun show, more people should definitely check it out.
|
# ? Jun 1, 2016 20:20 |
|
MiddleOne posted:Mark Cuban, The only reason 'B' is true is because unlike other rich people who own sports teams and view them as 'just another item in their portfolio and/or way to legally 'own' black people,' it's something Cuban actually *cares about*.
|
# ? Jun 1, 2016 22:06 |
|
So how long until we get a character or storyline based on Elizabeth Holmes?
|
# ? Jun 1, 2016 22:15 |
|
TheBlackVegetable posted:They just need a commit hook that reformats the code before the pull request is accepted and ignore whitespace in the diff tool. Was going to post basically this. We use Visual Studio Code and a beauty plugin which fixes all whitespace issues. VodeAndreas posted:Agreed, Richard was justified because she was using 8 spaces... Who does that? If you're using 2 space indentation that would be 4 indentations. Or she was just doing it to test what she heard. Also what the hell is the curly braces argument? The type of braces you're using depends on the language you're coding in. They're not interchangeable like tabs and spaces.
|
# ? Jun 1, 2016 22:59 |
|
Fiendish Dr. Wu posted:Also what the hell is the curly braces argument? The type of braces you're using depends on the language you're coding in. They're not interchangeable like tabs and spaces. It's an argument between putting the opening brace directly after the statement or putting it on a new line by itself. I like giving it its own line, myself. It makes the braces symmetrical so it's like a code sandwich.
|
# ? Jun 1, 2016 23:23 |
|
Binary Logic posted:Richard's like a more neurotic Seinfeld, who would weekly break up with a new or potential girlfriend over some almost imperceptible or trivial character flaw. Yeah, my first thought was Seinfeld during that whole coding scene. I'm not particularly surprised, it's just not endearing to his character at all. I don't particularly mind Richard, I just think they're taking greater strides to make him unpleasant this season. They're gradually taking the G out of RIGBY.
|
# ? Jun 1, 2016 23:53 |
|
sticklefifer posted:They're gradually taking the G out of RIGBY. Just change "great" to "grating" and it still works.
|
# ? Jun 2, 2016 00:00 |
|
squidgee posted:Yes, he is. Mark Cuban literally got rich putting radio on the internet, and has been selling all sorts of ridiculous three comma swag since before Silicon Valley was on air. Ahaha I don't know real-life SV well enough so I figured he was based on like Sean Parker or someone but knowing he's based on Mark Cuban just made Russ even better for me. Your mom is is Napa for a few hours with her friend Philip.
|
# ? Jun 2, 2016 00:01 |
|
the great deceiver posted:Ahaha I don't know real-life SV well enough so I figured he was based on like Sean Parker or someone but knowing he's based on Mark Cuban just made Russ even better for me. Your mom is is Napa for a few hours with her friend Philip. It's probably a composite based on Cuban, Parker, Sacca, etc. type of characters
|
# ? Jun 2, 2016 00:14 |
|
BIG HEADLINE posted:Just change "great" to "grating" and it still works. Then what's the BY for?
|
# ? Jun 2, 2016 00:17 |
|
|
# ? May 13, 2024 08:02 |
|
sticklefifer posted:Then what's the BY for? "but, y'know...the show needs his character for some reason."
|
# ? Jun 2, 2016 00:19 |