137 karma · joined June 10, 2009
But why?
*foo = 'a';
will write value of 'a' into memory at address that is in foo. type* foo;
is declaration and *foo
is dereferencing.char* foo = NULL;
char bar = 0;
are preferable. Is there any reason one would want to smash N declarations into one?
char *foo
instead of char* foo
foo is obviously a pointer to the char, not a char. It has different size and behavior.What a beautiful story!
In Java/C# I have to use what other people are using :)
My dislike of exceptions (as well as errno and Set/GetLastError) is due their masking, hiding error conditions and situations. And I prefer everything to be stated clearly. Including error handling code (answer to 'did I handled all possible failures of calling this?' should be instant).
Unfortunately proper error handling is hard, nearly as much as 'naming things' :)
But that was interesting read non the less, thanks OP.
Fork of Chromium without:
- all Google things
- Non-browser things like accounts and pdf viewers.
With:
- attempt https if protocol is not provided
- blocking all js unless whitelisted
- blocking all requests to 3rd party domains unless whitelisted
- blocking all attempts to hijack right mouse clicks
- blocking all redirect attempts unless whitelisted
- destruction of all cookies/web storage on start/close unless whitelisted
etc.
Also 'hacker' should have released everything and sent links to the media. That would close the site for sure. And would generate quite a few lawsuits from exposed people. And who knows maybe some more regulations privacy-wise would pop up.
Yet another episode of self-righteous attention seeking.
If only Japanese publishers (or it's laws?) were not so narrow minded and hired fans that translate those mangas to fill something like iTunes/Steam library, any human being of any age and sex would have something to read their whole life.
So stop this meaningless "Geneva talks". "Killer robots" will be built and will be used.
Don't ban weapons. Ban wars. I don't see why 1st world countries would need them anyway.