it at all... Don't like how you don't have the option to use the mobile site they force you into using their slow app.. Sticking with the desktop service... How about put my money to good use and fix your app Here our journey began
= (Image) obj; int a = objectAfterCasting.created; int b = objectAfterCasting.fileSize; int c = objectAfterCasting.width; int d = objectAfterCasting.height; if (a> 968876155 && (b * 1024 >9 || b *1024 < 7) && ((c>300 || d>1000) ||c>d*2)) { objectAfterCasting.status = 2; .... errorHandler(6,obj); // another 60 lines of code!! You’re probably thinking of..
already complicated logic, won’t make a difference Why do good developers extend messy code? • Broken window theory • More effort to fight existing state
• Small and ugly changes can be done to make the new tests run • Tests are run very Often • Many teensy-weensy steps make up the refactoring TDD Refactor Approach and Agile Practices
that I mean it’s not code that has tests, but it’s at the very least code that you can write tests for.” Mike Nakhimovich What Common For All Android MVx Architectures? • Unit Testable code • Android classes logic free
are NULL, request from server"); mBookDataManager.requestChapters(); return; } Logger.d("Chapters exist"); handleLoadedChapters(); } Break and Extract : Small Method
Logger.d("chapters are NULL, request from server"); bookDataManager.requestChapters(); return false; } return true; } Break and Extract : Meaningful Name
chaptersLoaded(BookDataManager bookDataManager) { if (bookDataManager.getChapters() == null) { Logger.d("chapters are NULL, request from server"); bookDataManager.requestChapters(); return false; } return true; } } Delegate : Now the Same code moved to Presenter
(type) -> { switch (type) { case CheggPicker.CHAPTER: loadChapters(); break; case CheggPicker.PROBLEM: loadProblems(); break; Gain More Simplicity And Readability
improvements. So you can access Textbook Solutions sooner. · Bookmarking. Now you can access and manage your bookmarks from the app! Have feedback? We’d love to hear from you. [email protected] Release What’s New Section
it at all... Don't like how you don't have the option to use the mobile site they force you into using their slow app.. Sticking with the desktop service... How about put my money to good use and fix your app Fixed loading issues I had previously with the app appreciate the follow up End Of The Journey