Previous Section  < Day Day Up >  Next Section



What is it about BASIC that makes it easier to fall into bad habits while writing programs?


One thing you'll learn as you start writing Java programs is that you have to be organized. If you don't structure your program in the correct way, it won't work. BASIC doesn't have this kind of requirement. You can write in a disorganized manner and still get the program to work successfully. Later on, however, you'll have a much harder time figuring out how the program functions when you try to fix a bug or add an improvement.


BASIC? C++? Java? What are the names of these languages supposed to mean?


Like many programming languages, BASIC gets its name from an acronym that describes what it is: Beginner's All Symbolic Instruction Code. C++ is a programming language that was created to be an improvement on the C language, which itself was an improvement of the B programming language. Java goes against the tradition of naming a language with an acronym or other meaningful term. It's just the name that Java's developers liked the best when brainstorming for possible monikers—beating out WebRunner, Silk, Ruby, and others.


Are there really more than 1,000 books about Java programming?


When JavaWorld magazine stopped counting them, there were approximately 2,400 books on the language. And now there are 2,401.


Why are interpreted languages slower than compiled ones?


For the same reason that a person interpreting a live speech is a lot slower than a translator interpreting a printed speech. The live interpreter has to think about each statement that's being made as it happens, while the other interpreter can work on the speech as a whole and take some shortcuts to speed up the process. Compiled languages can be much faster than interpreted languages because they can do things to make the program more efficient.


Is C++ harder to learn than Java?


It's a matter of personal opinion, but Java does seem more approachable for beginners than C++. C++ and its predecessor C are widely regarded as "programmer's languages," meaning that they were designed for the needs of experienced programmers. There are a lot of features in C and C++ that make them faster—and more powerful—during program creation, but these features often come at the expense of understandability. Java takes a more simplified approach to programming than C++ and is probably a better place to start.


Do you only answer questions about Java?


Not at all. Ask me anything.


OK. Where can I learn the art of glass blowing?


Look in your area for a two-day workshop that teaches lampworking, the art of making figurines out of hot glass.

You can find a list of upcoming workshops on the Glass Line website at

Lampworking, which takes its name from artisans who used a lamp's heat to shape glass, costs about $150 to begin.

Off-hand glass blowing—putting hot glass at the end of a hollow tube and blowing it into shape—costs from $5,000 to $10,000 to undertake.

Some schools offer courses in off-hand glass blowing, including California State University-Chico, Tennessee Technological University, and Southern Illinois University.

    Previous Section  < Day Day Up >  Next Section