You asked

Panasonic leica dg 12 35mm f 2 8 vs yongnuo yn12 35mm f 2 8 4m?

The Panasonic Leica DG 12-35mm f/2.8 is the better lens for most people who shoot indoors, at dusk, or anything that moves. Both lenses are 12-35mm zooms for Micro Four Thirds cameras, which makes them roughly a 24-70mm on full frame.

The Panasonic holds f/2.8 across the whole zoom range. The Yongnuo is f/2.8 only at the wide end and drops to f/4 as you zoom in, so at 35mm you're gathering noticeably less light. Its depth of field is also a stop or so deeper at the same settings: f/2.8-4 there behaves like f/5.6-8 on full frame, while the Panasonic's f/2.8 behaves like f/5.6. For dim light and moving subjects, that brighter, constant aperture matters more than anything else here.

The Panasonic is also stabilised. Stabilisation steadies the camera, not the subject, so it helps most with slow shutter speeds for still scenes, such as handheld shots in a dim room or video. The Yongnuo has no stabilisation, so you'll rely on faster shutter speeds or a stabilised camera body.

The Yongnuo's advantage is that it gives up brightness and stabilisation for a simpler, possibly cheaper, zoom. This site's pages don't give current prices here, so check each lens's catalogue page before deciding. If you're shooting mostly daylight landscapes or travel, the Yongnuo is a reasonable budget option. Either lens fits a wide range of bodies, from the OM System OM-5 to the Panasonic Lumix GH7.

For the aperture maths behind these comparisons, see aperture and depth of field.

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}.