Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

When the heck did .NET took over????

Name: Anonymous 2005-08-10 9:46

I was looking at job vacancies and all of them all said to the point of must have exp in C# or ASP (for web programming).

When the heck did Microsoft took over??? I though C++ and PHP were reigning still.

Name: Anonymous 2005-08-20 10:42

A language that considers a[i] to be equivalent to *(a + i) has nothing to do with the standard library.

If I wanted to be safe I would have to wrap all arrays in a struct that also contains the array length. Then I would have to access the struct through specific functions which automatically check the length before trying to access, and return error codes if the index is out of bounds. If I were using someone else's code in my program I would have to either edit their code to use my structs instead of raw arrays, or just trust that they are awesome programmers who never allow a situation where an overrun could occur.

I'm sure there are libraries that do what I described; it's trivial, I could write a simple one in an hour. The point remains that I'd still have to check other people's code if I wanted to use it.

Would it really have been so bad to make this a core language feature? It would have saved us a lifetime of hacked webservers.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List