Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Data Structures - Retired Getting There The Beginning Bits

Unit names?

Craig Dennis says that 1024 bytes is a kilobyte... 1024 kilobytes is a megabyte, etc.

Shouldn't it be 1000 bytes is a kilobyte? I thought 1024 was a kibibyte.

TL;DR: Isn't Craig incorrectly using the decimal nomenclature to refer to binary units?

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

No, not really. That's what they were called in IT up until 1998 when the IEC stepped in and gave them new names. He's just using the older terminology (which is still prevalent). Here's some documentation from the IEC about kibibyte vs kilobyte etc.

http://www.iec.ch/si/binary.htm

edited for additional note

The original kilo prefixes were used as an approximation.

Hope this helps! :sparkles:

Talk about building upon a shoddy premise. You'd think computer scientists would want to avoid ambiguity. Thanks for the info, Jennifer!