Null References: The Billion Dollar Mistake (2009) [video]
1–10 of 130 posts
Re: Null References: The Billion Dollar Mistake (2009) [video]
#2Re: Null References: The Billion Dollar Mistake (2009) [video]
#3https://www.digitalmars.com/articles/C-biggest-mistake.html
It's simple to fix this in C, too.
Re: Null References: The Billion Dollar Mistake (2009) [video]
#4Nah. The billion dollar mistake is actually C arrays decaying to pointers, enabling buffer overflows, the #1 cause of bugs and malware injection in shipped C programs. https://www.digitalmars.com/articles/C-biggest-mistake.html It's simple to fix this in C, too.
Re: Null References: The Billion Dollar Mistake (2009) [video]
#5Nah. The billion dollar mistake is actually C arrays decaying to pointers, enabling buffer overflows, the #1 cause of bugs and malware injection in shipped C programs. https://www.digitalmars.com/articles/C-biggest-mistake.html It's simple to fix this in C, too.
Re: Null References: The Billion Dollar Mistake (2009) [video]
#6Re: Null References: The Billion Dollar Mistake (2009) [video]
#7Re: Null References: The Billion Dollar Mistake (2009) [video]
#8Nah. The billion dollar mistake is actually C arrays decaying to pointers, enabling buffer overflows, the #1 cause of bugs and malware injection in shipped C programs. https://www.digitalmars.com/articles/C-biggest-mistake.html It's simple to fix this in C, too.
Re: Null References: The Billion Dollar Mistake (2009) [video]
#9Nah. The billion dollar mistake is actually C arrays decaying to pointers, enabling buffer overflows, the #1 cause of bugs and malware injection in shipped C programs. https://www.digitalmars.com/articles/C-biggest-mistake.html It's simple to fix this in C, too.
https://go.dev/ref/spec#Slice_types
Slices can still be nil (null), but it isn't an unsafe memory access operation, just another type of potentially useful or potentially errant invocation to handle.
Re: Null References: The Billion Dollar Mistake (2009) [video]
#10Nah. The billion dollar mistake is actually C arrays decaying to pointers, enabling buffer overflows, the #1 cause of bugs and malware injection in shipped C programs. https://www.digitalmars.com/articles/C-biggest-mistake.html It's simple to fix this in C, too.
how else you might structure errors without changing much of the rest of C left for an exercise