logoalt Hacker News

Scubabear68 • today at 5:00 PM • 4 replies • view on HN

From the article, "WRITING HTML AND CSS IN C ISN'T TOO BAD".

Um, any and all string handling in C is pretty miserable.


Replies

feelamee • today at 10:11 PM

tell me where working with strings is not miserable? Practically, modern languages with RAII make it easy at the cost of perfomance (doing a lot of allocations). So, if you doing lot of string handling, you still need to think how to do it in performant way. If doing it a bit - why care about miserable.

prophittcorey • today at 5:03 PM

To be fair, the HTML and CSS in C wasn't too bad.. the Youtube scraper was also written in C and that was a lot more painful :)

➕ show 1 reply
PhilipRoman • today at 5:18 PM

Emitting strings is fine, it's the parsing that sucks.

Joker_vD • today at 5:04 PM

If you do it with the string functions from the standard library then yes, it is.

➕ show 1 reply