DEV Community

Discussion on: What Do You Think About Types?

Collapse
 
solkimicreb profile image
Miklos Bertalan • Edited

Now that I think about it, I never really used the benefit a weak typing in JS. Can anybody mention a case when they changed the type of something (primitive or complex) after declaration and it felt like the right thing to do? I think I mostly enjoy weak typing because I have to write less code, not because it is weak.