logoalt Hacker News

fithisuxtoday at 5:37 AM2 repliesview on HN

Null terminated strings have some merits but they should be a completely different data type like in Freebasic.


Replies

Sankozitoday at 5:52 AM

Are there other merits than availability of literals in C?

It seems like one of the worst data structures ever - lookup complexity of a linked list with a expansion complexity of an array list with security problems added as a bonus.

show 2 replies
tdecktoday at 7:02 AM

Hearing someone mention FreeBASIC really brings me back. It was the first language I ever used pointers in.