Ok, It's sunday. But yesterday I wasn't in the mood for coding. I rather drank couple of beers and was in sauna, as we use to do in Finland.
So, I still had things to do with that KataBangOCR code kata like file handling, learning some Mockito stuff etc. Now It's (almost) done and results are here. Still have to think how to implement that fourth user story, but learning process is finished. Actually, I achieved all learning goals.
But now I have set some new goals. I want learn to use git-flow and it's easier to do it with some new project. Also, I'm reading this book now, and try I get some new ideas from there for implementing TDD. And I want to test those ideas when I'm doing some coding. You can't actually learn anything just by reading.
Luckily there are lots of things to do, if I don't invent some real project. But now I'll go to sleep...
See you and good night!
Näytetään tekstit, joissa on tunniste git. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste git. Näytä kaikki tekstit
sunnuntai 4. joulukuuta 2011
Saturday Night Kata: My First Code Kata, Part 2
Tunnisteet:
clean code,
code kata,
git,
programming,
tdd
maanantai 7. marraskuuta 2011
Saturday Night Kata: My First Code Kata, Part 1
I am ashamed to admit that I haven't done any code katas until last saturday. I train somehow regularly, do prototypes and pocs, but I have never picked any katas and just executed them in "kata way" (whatever that means). But now I had some stuff to learn and it seemed a good idea to use code kata to learn them.
And here are my goals:
And here are my goals:
- Learn use Eclipse shortcuts better (mainly for executing unit tests and changing tabs and views).
- Training TDD, I'm still novice in that (I think) so I need all training I can get.
- Train mocking with Mockito. I have used it, but not so much, so I still need some practise.
- Test some basic Java 7 stuff, like switch -statement with Strings and try-with-resources statement.
- Learn some basic Git commands and how to work with github.
- May be test some new eclipse plugins, I haven't used before.
Now I have achieved part of those goals and results are here. I have still lots of things to do, but I learned some important things like set up Git -> github connection and how to use it. I also remember how to change tabs and execute test using shortcuts in Eclipse. But there are still some things in my todo -list:
- File handling (goal 4.)
- Some refactoring (that switch statement in that parser class is ugly).
- Maybe more tests.
- Cover all use cases of course, we have to always make business people happy :)
- Mockito stuff (I think I gonna use it in my file handling unit tests, but also have to create some integration test for that part too).
Tunnisteet:
clean code,
code kata,
git,
programming,
saturday night kata,
tdd
Tilaa:
Blogitekstit (Atom)