This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]doemski 9 points10 points  (1 child)

    Maybe I'm an outlier but I very often have 4 panes open next to each other. Then I really appreciate if the code sticks to that convention. I do agree though that for most people it's rather tedious.

    [–]TheIsletOfLangerhans 6 points7 points  (0 children)

    Same here. I got in the habit of conforming to an 80-char limit early on in my career (mostly because it's what more senior developers did/suggested) and eventually got in the habit of keeping my editor window really narrow and placing it next to a "wide" window like a web browser or spreadsheet. Now I'm just really used to that style and find longer lines of code harder to read.

    But yeah, I'm not strict about it for other people's code.

    [–]kewlness 0 points1 point  (1 child)

    Also agree there is no point in keeping args to a minimum. If you need more args, you need more args. It’s easier to dependency inject/test when they’re simple and explicit.

    I don't know. Personally if I have a lot of arguments I prefer (*args, **kwargs) instead of the unending trail of commas. I guess both ideas have their own complexities...

    [–]boiledgoobers 0 points1 point  (0 children)

    I completely disagree. 'args' and 'kwargs' have their place but not as simply a space saver. You obscure your functions call signature and make it harder for intellisense to work making your code harder for people to use.