Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Powershell (Score 1) 729

strings terminated by a binary zero rather than their physical size. Who the hell thought that would be a good idea?

One advantage to null-terminated strings is that there's typical only one format - well one for each character type at least. For length encoded strings, the format depends on the register size, and the endianness of the platform. Of course C does not enforce the use of zero-terminated strings. Not even for string literals.

Comment Re:Actionscript Scoping (Score 1) 729

for (int i = 0; i < 10; ++i) { something(); }

I remember when some compilers would treat this like:

int i; for (i = 0; i < 10; ++i) { something(); }

and others like this:

{ for (int i = 0; i < 10; ++i) something(); }

As the standard, for whatever reason, decide to change it. So much for not breaking existing code.

Comment Re:Foolish (Score 1) 358

I am not saying we will find FTL travel method - but they are assuming we won't which is foolish.

There's a lot of evidence we won't. We would have found it by now if someone has discovered it in the future.

Comment Re:Meh (Score 1) 435

I think garbage collection is a library issue, not something that should be in the core language by default.

I'd like to see runtime reflection with the proviso that it's static. It's my thinking that reflection should be compile-time for a compiled language.

Comment Doesn't solve the big problem (Score 2, Insightful) 413

The big problem with music on MP3s and CDs isn't the sample rate, or even the bits used to sample. To sell CDs and MP3s the recording is made as loud as possible and this causes distortion in the sample values. There's no point having 16-bits or 24-bits if the recording doesn't make good use of the full range of values.

Slashdot Top Deals

Old programmers never die, they just hit account block limit.

Working...