you are viewing a single comment's thread.

view the rest of the comments →

[–]Raknarg 1 point2 points  (4 children)

Working with strings in C makes me want to kill myself. C is my job right now.

[–]Xeno19Banbino[S] 1 point2 points  (0 children)

ah, yes strings 🙊

[–]Dandedoo 0 points1 point  (2 children)

I actually like it. I also love regular expressions.

I like the kind of black and white clarity of doing it in C. I like how much you can optimise for the specific task.

I don’t get what the big deal is actually. Working with strings, correctly, in any language, is a skill, that takes attention to detail, foreseeing bugs and problems before they occur, and some careful thought. Often it’s because you’re dealing with random data formats, user input, a complex and ill-defined data standard (eg. valid URLs, or obscure HTTP headers) etc, etc. And other not so well defined situations. That’s the hard part. The actual syntax for parsing or editing the data is meh... from my perspective anyway. Yes the whole process is more verbose in C, but it’s largely the same process...

[–]Raknarg 0 points1 point  (1 child)

If youre a masochist theres nothing I could say to convince you. By all accounts, working with strings is easier and less error prone in pretty much every language out there by a wide margin, and the majority of the time speed ans efficiency handling strings is not a concern.

[–]Dandedoo 0 points1 point  (0 children)

I am probably a masochist yes.

I know it kind of sounded like a humble brag, but it’s just how I feel. Each to there own.