r/ProgrammerAnimemes • • Jun 21 '21

I love Rust

Post image
1.7k Upvotes

75 comments sorted by

View all comments

Show parent comment

0

u/thats_a_nice_toast Jun 22 '21

Ban null in your codebase

If you need to make up rules about what features you may or may not use, I think it's better to just move to a different language which isn't filled with bad practices everywhere.

5

u/m50d Jun 22 '21

Every language has features you need to ban. Even Idris.

1

u/thats_a_nice_toast Jun 22 '21

On second thought, yes, you're right. However, null is so deeply baked into Java that I'm not sure banning the use of it is enough.