View Full Version : I hate string parsing with a passion

03-19-2002, 06:14 PM
Out of everything I have ever programmed, the one thing I hate to do most is parse strings.

There are so many things that you can easily overlook and make go wrong, I hate parsing strings.

Substrings, inserts, deletes, appends, prepends......it's all freakin heck to try and do.....having to create copies of the string on one side and the other side..etc...etc...etc....oh how i hate string parsing...

How do people that make compilers deal with it? Can you imagine having to go through source code parsing the entire file to find every function call, the arguements that go along with that function call....having to know what to discard and what not to....think of how many spaces and end line characters you would be looking for....and then...yes, and then....you would have to check for the all dreaded semicolon to make sure each line of code ends properly....just think of all the string parsing!!!! aahh!! and then once you have all of it parsed you would have to convert it to assembly....

what a big job...

i hate string parsing....

03-19-2002, 07:04 PM
And I thought that I was the only one :eek:! I wish I was good at it, but it just takes too much thought and I get too many bugs. I can normally write some really good parsing code, but it always gets overloaded with errors. Then I just go through one-by-one fixing them all. Normally that can take up to a week. Lord how I hate it with a passion! And you almost always have to do it in some form or another.

03-19-2002, 07:30 PM
I'm writing a compiler, and it's luverly!

(except for function pointers. grrrr)

there are clean ways of doing everything.....