Skip to content

Conversation

@vfarah-if
Copy link
Owner

Thanks Danil Suits for you lovely kata. I put a lot of empasis on dicipline with RED, GREEN, REFACTOR pattern of TDD * INFINITY. I also tried harder than usual to identify the natural anti patterns I was creating by keeping things small and simple, adding a reference to [refactoring smells](https://refactoring.guru/refactoring/smells) so you can see the anti patterns I added and tried to fix. Keep timing tight, which I didn't inbetween doing stuff and other unrelated activities. https://cuckoo.team/ is a great tool for that. If you are going to pair with someone, make sure you discuss some [principles and etiquette](https://www.thoughtworks.com/insights/blog/seven-principles-pair-programming-etiquette) around what you need to do. Two controversial points with my solution. One is Typescript and the other is functional vs class. I personally use both when appropriate and am not a real javascript purest or functional purest. Functional approaches shine when the state transitions are stateless and I want to you want to compose behaviour easily. Class-Based approach shines when encapsulation of state and behaviour and Object-Orientation Models the domain well. I also find as I am in C# these days, it just feels more natural to use and swap between it.

vfarah-if added 30 commits May 17, 2025 12:56
extracted currentDirection method to make it more redable
@vfarah-if vfarah-if force-pushed the feat/marsrovers-kata branch from 1567300 to 89a356f Compare May 18, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants