Nikon AF-S DX 50mm f/1.8G or 35mm f/1.8G lens?

I hear these two NIKKOR lenses are very similar, which one is better in your opinion? Please give reason why your choice is better and the other isn't.

The 50mm is not a DX lens, the 35mm lens is.
So the 50mm will work with both DX and FX Nikon DSLRs. The 35mm will only work with DX cameras.
If you have anything but a D3 or D700, you have a DX camera.
The 35mm lens on a DX camera has an "effective" focal length of 50mm. So I would use the 35mm on a DX camera, and 50mm on a FX camera.
So in reality neither is better - it depends on which camera you use as to which one is preferable.

The 35mm is more for general, walk around photography, the 50mm is best for portraits and things of that nature.
there's no "best lens" in general. There are different focal lengths for different purposes.

Nikon AF-S DX 50mm f/1.8G makes perfect sense, however. Due to their rather low cost, normal lenses are often purchased by many as their first prime and thus sell in rather high volumes (for a prime lens).In addition, especially 50mm lenses are very popular for portraiture on DX cameras, or any other application that benefits from shallow depth of field. Due to the omission of an integrated motor, the AF-D 50/1.8 lacked AF when used with current entry-level Nikon DSLRs, making the lens an unattractive option for a quite large market segment. The 50/1.8 G solves this issue with its AF-S drive
- Nikon 35mm f/1.8G AF-S DX Lens vs Nikon 50mm f/1.8D AF Nikkor Lens for Nikon D90?
- Nikon 35mm 1.8 lens for Pentax K1000 with 50mm lens?
- Nikkor 50mm AF-S 50mm f/1.4G or AF 50mm f/1.8G?
- Will nikon kit lens 18-55mm 3.5-5.6 work as good as nikon 50mm 1.8g or nikon 35mm 1.8g?
- What is the difference between a Nikon AF-S 50mm f/1.8G and a Nikon AF-S 35mm f/1.8g lens?