Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

It seems like Python is used as a coding language for part 2 of Kent Beck's book Test Driven Development. I have read the first part of that book and started appreciating the value of TDD . First part was easy to understand as the examples were in Java and that is the only language that I have worked on. How should I prepare myself to go about reading the second part of the book? What value will it provide? I do not plan to write a testing framework myself. Can I skip this entirely and go to the third section?

share|improve this question
    
Python is the closest you can get to executable pseudo-code. Beck includes a primer on the language fundamentals; why not try reading on? –  Martijn Pieters Mar 9 '13 at 16:34
    
@MartijnPieters What do you mean by executable pseudo-code and how is it relevant in this case? –  Geek Mar 9 '13 at 16:36
3  
I was quoting Bruce Eckel; Pseudo code is the stuff you write on the blackboard when teaching a algorithm class where you are not focusing on the code syntax but on what the code is doing. Python is extremely readable, if you know general programming you'll understand most Python code. –  Martijn Pieters Mar 9 '13 at 16:40
    
If you're really confused or concerned about the second portion of that book, I suggest you read this excellent alternative (first/instead): Test Driven: TDD and Acceptance TDD for Java Developers –  Graeme Wicksted Mar 9 '13 at 18:20

2 Answers 2

up vote 5 down vote accepted

Everybody should learn more than one language.

Python is a great language widely used to illustrate programming concepts such as 'Cognitive Intelligence', 'Semantic Web', 'Natural language processing' to name just 3 O'Reilly titles.

Learning a little Python will make you a better Java programmer .

share|improve this answer

No, it is not mandatory to know the language used in books to get the ideas behind that. If you're interested anyways, feel free to learn it. But it's not that important. The concepts matter.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.