7 Reasons why you don’t need Android Lint

Ta Theerasan Tonthongkam
ta tonthongkam
Published in
4 min readJul 31, 2018
Lint when pronounce in Thai it mean tongue.

In the developing world, each developer has own style of code. So many times it becomes conflict among the team. Fortunately, each development platform has own rules to determine the style of code; and it called Lint.

Android development has explicitly its lint called Android Lint. Android Lint itself it a great tool to help developers always do the best practice by following its instruction. Besides that, you get a good code quality along with excellent product quality.

All of the good-side describe above, but it doesn’t mean you need it. Here’s come to the list 7 Reasons why you don’t need Android Lint.

1. You love to fight and argue with the team!

The first benefit of using Android Lint is it help you shape up and clean your code, but if you don’t like the way that lint suggests you. You can up come with your rules, then try to convince all of the team to use it, of cause you also argue about the code with your team, if you love to fight then lucky you.

Let them fight from Godzilla

2. You love to see your project getting bigger and bigger.

Android Lint smart enough to notice you which resources declare as unused, some part of the code also declare as unused. However, you need to leave it and let your project getting big. Because when you remove it the size of your project decrease.

Lint is also fantastic when it detects that you are using the same image but different name. If you are fate in “Many Names God” then lets it be. Also, deal with it later when the designer changes the design.

Lint show duplicate image with different name.

3. Want to increase your implement time.

Disable lint, not fix it by lint’s instruction it reduces coding time already. No worries if your project is not going to have more feature. In another hand, your project has got more feature; if you are not writing code in the right place, it’s going to increase your implement time for sure.

4. App smoothness is not your concern.

Sometimes, we can’t avoid creating too many layers of XML. Moreover, we are using inappropriate layout. Lint tells us that if we fix it follow its instruction. Your app improves smoothness quality. However, if you love to see your app lacking, then you don’t need lint to help.

5. You don’t think your app is going to have future.

Linter tells us everything about your code, even if your code it out date or not. Sometimes it shows you use a deprecated code and suggest another substitute function. Your app shines brightly to the future. However, you accidentally meet Melisandre, and she says to you “Your app is dark and full of terror.” That means your app is going to have no future; now you can suppress lint.

Melisandre from Game of Thrones

6. Only your device model supports your app.

Linter also knows which part of your code isn’t going to run correctly in all android devices. It tells you that, all you need is fix it. By the way, if your C-Something-Os say to you, your app needs to run flawlessly on your device only you can ignore the lint.

7. You need your app randomly crash like a Gachapon.

Like I describe too many times. Lint helps us aware of fragmentation, deprecated code and support the future. All of those benefits keep our app runs perfectly fine on all devices. If you ignore it, it may not run smoothly enough even worst your app crash randomly like a Gachapon. If Gachapon is your favorite feature, then you can have it by stopping using lint.

All above are 7 reasons why you don’t need lint, but if you read thru to this line and you still need the lint, you can go to lint below and follow the instruction.

Hope that you’re going to enable lint in your project to improve your code quality.

Conclusion

Android Lint is a perfect tool for Android developers. It guides us to write code with high standard. Lint is also guiding us to the future, avoid us from today mistakes. Helping us deal with Android’s fragmentation. Let us have a good quality app. All of the good stuff shows up because of lint, so why we don’t need it.

To Foreigner

Lint itself also have meaning in Thai, it mean tongue that’s why I use Vitas as a cover. You can check out this song here https://www.youtube.com/watch?v=IwzUs1IMdyQ

ลิ้น = Lîn = Lint = tongue

Thank you

— end of the story —

--

--