Comments for AHMAD ATWI https://ahmadatwi.me Software Developer Tue, 27 Mar 2018 14:34:35 +0000 hourly 1 http://wordpress.com/ Comment on How to move a git repository to subdirectory of another repository by TomTom https://ahmadatwi.me/2016/04/07/how-to-move-a-git-repository-to-subdirectory-of-another-repository/comment-page-1/#comment-14262 Tue, 27 Mar 2018 14:34:35 +0000 http://ahmadatwi.me/?p=1648#comment-14262 Thanks, that post was really helpful!
One note though, in the newer versions of git you have to add –allow-unrelated-histories param when merging non related branch histories, so the command should look like:
git merge repoBTemp/master –allow-unrelated-histories
I also think that creating a new branch in the target repo for the moved changes (and merging it to the master right after the move) is probably a good idea.

Like

]]>
Comment on How to handle Java exceptions in clean code? – Part 2 by rattieh https://ahmadatwi.me/2017/02/05/how-to-handle-java-exceptions-in-clean-code-part-2/comment-page-1/#comment-2607 Tue, 25 Jul 2017 05:55:39 +0000 http://ahmadatwi.me/?p=4981#comment-2607 Great post!
Can we make the special case (MissingBook here) a singleton or it’s a bad practice?

Like

]]>
Comment on My takeaways from a TDD debate between Cope & Uncle Bob by Ahmad Atwi https://ahmadatwi.me/2017/04/27/a-tdd-debate-between-cope-uncle-bob/comment-page-1/#comment-51 Tue, 02 May 2017 06:57:19 +0000 http://ahmadatwi.me/?p=6079#comment-51 Hello Issa,
Glad to hear from you!

Doing incremental design doesn’t mean that you shouldn’t think of the whole design. The idea is that your design will evolve and change as you write your code and as the requirements change. Thus, you need to keep your design ready and easy to change.

Here is how we do it in our team:
1. Plan the requirements for the coming 3 months with our Product Owner during a Business Priorities meeting. In that meeting we agree on the epics to work on for the next period. This will make us focus our design on small parts of the big design
2. Another activity we do is an Architecture meeting every 6 months. During that meeting the team looks at the current whole design and plans the next steps, like whether we need to remove, edit or add pieces to it.
3. When faced with a complex story (micro-task), the pair working it suggests a design to the team before starting the coding phase.

With those 3 steps, we guarantee that our design is evolving as our product is growing and at the same time we are sure the pieces are well connected in the whole design.

I hope this answered your question!

Thanks,
Ahmad

Like

]]>
Comment on My takeaways from a TDD debate between Cope & Uncle Bob by Issa Haddar https://ahmadatwi.me/2017/04/27/a-tdd-debate-between-cope-uncle-bob/comment-page-1/#comment-50 Mon, 01 May 2017 10:58:14 +0000 http://ahmadatwi.me/?p=6079#comment-50 “Design evolves with time and should be assembled one bit at a time”. I’ve been thinking about this point for a while now. In a TDD + agile mode, one might not foresee the long term end result and focus more on the small tasks in-hand.

I am a bit skeptical on the idea that “[design] should be assembled one bit at a time”. I think in this approach one is constantly rethinking the architecture of the solution, refactoring the parts of the solution, and might reach a point were the sub-solutions are optimal but the whole design is not and realize that maybe it was a good idea to think of the general design first.

My question is how do you think of the solution design for your micro-tasks when you follow an iterative TDD (“Don’t write more production code than is sufficient to pass the currently failing test”) approach, and the general solution architecture in an agile methodology? Those might be two different questions so you can address them separately.

Like

]]>
Comment on Coding dojo… One year later by A TDD Debate between Cope & Uncle Bob – AHMAD ATWI https://ahmadatwi.me/2016/07/22/coding-dojo-one-year-later/comment-page-1/#comment-49 Thu, 27 Apr 2017 19:27:23 +0000 http://ahmadatwi.me/?p=2859#comment-49 […] addition to that, I had the chance to coach other developers by running coding dojo sessions at […]

Like

]]>
Comment on How to handle Java exceptions in clean code? – Part 2 by How to handle Java exceptions in clean code? – Part 1 – AHMAD ATWI https://ahmadatwi.me/2017/02/05/how-to-handle-java-exceptions-in-clean-code-part-2/comment-page-1/#comment-42 Sun, 05 Feb 2017 14:04:00 +0000 http://ahmadatwi.me/?p=4981#comment-42 […] hope this post gave you a better understanding of Java exceptions! In the 2nd part, I will be sharing more details on how to properly write exceptions in clean code and which of the […]

Like

]]>
Comment on How to handle Java exceptions in clean code? – Part 1 by How to handle Java exceptions in clean code? – Part 2 – AHMAD ATWI https://ahmadatwi.me/2017/01/20/how-to-handle-java-exceptions-in-clean-code-part-1/comment-page-1/#comment-41 Sun, 05 Feb 2017 12:25:11 +0000 http://ahmadatwi.me/?p=4523#comment-41 […] my previous post, I explained the different types of exceptions in Java and left two questions for this […]

Like

]]>
Comment on Extreme Practices – The Preparation by Extreme Practices – Agile Tour Beirut | AHMAD ATWI https://ahmadatwi.me/2016/10/23/extreme-practices-the-preparation/comment-page-1/#comment-22 Thu, 03 Nov 2016 11:20:40 +0000 http://ahmadatwi.me/?p=3337#comment-22 […] Extreme Practices – The Preparation […]

Like

]]>
Comment on About Me by aatwi https://ahmadatwi.me/about/comment-page-1/#comment-16 Sun, 31 Jul 2016 18:16:45 +0000 http://aatwidotme.wordpress.com/?page_id=1#comment-16 Hello Gaetano, thanks for your message! Unfortunately, I am currently overwhelmed with work I can’t take any external projects.
Thanks
Ahmad

Like

]]>
Comment on About Me by Gaetano https://ahmadatwi.me/about/comment-page-1/#comment-15 Tue, 26 Jul 2016 19:12:39 +0000 http://aatwidotme.wordpress.com/?page_id=1#comment-15 Hello I am Gaetano and I am asking if You can help me with a website made with laravel 5.2. The site is already done, but is not online, need to be completed the payment, the refund and the fee.
Basically the user can purchase, if he refuse the product will get automatically back the money, but if user buying, the web site will have to retain a fee to the other user who posted the product.
This is one of the main features that need to be done.
Let me know if You can help me and I will send you more details.

Thanks
Gaetano

Like

]]>