No, the first version is a bad idea giving you a division by zero error, which in turn may lead to nasty things including the opening of a wormhole to a different universe and the invasion of alien locusts feeding on brains and farting Britney Spears tunes. It'll be your fault!
The second version just gives a syntax error.
If you want to do that use: y=5;
Korman