best programming language for a programming book?
spooneybarger: Do you wanted the largest target audience?Pick a 'scripting language'? Then eliminate based on issues...I would come down to python or ruby being the easiest for most people to look at and quickly gronk. python being the easiest i would suspect. and i say this as someone who does 0 programming in python these days.You don't know python however, so ruby would be fine. If you start doing stuff with blocks etc, you might want to explain that as some people would find.File.open( "a_file", "r" ) { | line | puts "this is a line #{line}" }a little confusing.of course all this assumes you target audience is imperative, algol steeped programmers.