You asked

Is the yongnuo yn12 35mm f 2 8 4m good for astrophotography?

The site doesn't say whether this lens is good for astrophotography. The Yongnuo YN12-35mm f/2.8-4M page lists its specs but no night-sky results, so the guide can't rate it for stars.

The specs do suggest some limits. It's a Micro Four Thirds zoom, and its f/2.8-4 aperture gets darker as you zoom in, so only the wide end reaches f/2.8. It isn't stabilised. For dim scenes, the guide's rule is that a fast lens and a larger sensor matter more than stabilisation, which steadies the camera rather than the subject. Stars are a dim, moving subject, so a fast lens matters most here. The wide end is probably where you'd shoot the night sky, but check the lens's own results before relying on it.

The guide's Lenses page recommends a fast standard prime for low light, but its figures are for full frame and APS-C, not Micro Four Thirds, so don't assume the same focal lengths apply to this lens's mount. The focal length converter explains how aperture compares across sensor sizes: on Micro Four Thirds, f/1.8 gives about the background blur of f/3.6 on full frame, so faster lenses matter even more on this sensor.

The page lists many bodies this lens fits, including the OM System OM-1. The site doesn't say which body suits night photography best, so use the camera pages and your own tests to decide.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.