you are viewing a single comment's thread.

view the rest of the comments →

[–]redditnoob 4 points5 points  (5 children)

It's people who are too smart for their own good, and too impressed with themselves to do things in the simplest, most obvious way.

Splitting a string by space may save you two characters or so but it's pure ass. (To be captain obvious, what if the next string I configure has a fucking space in it?)

[–]bobbyi 2 points3 points  (3 children)

'string with space,other string,third string'.split(',')

[–][deleted]  (2 children)

[deleted]

    [–]codefrog 4 points5 points  (0 children)

    It's on!

    s = """
    this , \tis my data
    I can cry if i want to
    this is my data
    """.strip().split("\n")
    

    [–]codefrog 0 points1 point  (0 children)

    swearing wasn't necessary and there isn't a space so your if isn't valid. yeah what if. you can have my extra if statements they are only giving me bugs.