Ask HN: What are the “best” codebases that you've encountered?
392 pointsI am rather fond of the concepts described in "Clean Code" by Robert Martin but it seems that in real life, a really high-quality codebase is hard to come by.
While I am asking myself this question, the only one that popups to my mind would be Laravel: https://github.com/laravel/laravel (PHP)
One could think that a codebase as popular as React (https://github.com/facebook/react) would be a perfect example of "clean code" but with a glance, I personally don't find it very expressive.
This may all be very subjective but I would love to see examples of codebases that member of this community have enjoyed working with
Comments (269) 82 threads
Earlier commentslibavformat is rather difficult to use and difficult to fix bugs in - you'll never find the bugs. Same with the ffmpeg frontend, which makes it easy to ask for something it's near impossible to get right, like copying an mkv file to an avi, it'll just corrupt your data silently.
Everything about the video decoders is great, but encoding never worked as well, which is why nobody uses ffmpeg2/4/etc and x264 is a separate project.
Some examples?
encoding never worked as well, which is why nobody uses ffmpeg2/4/etc and x264 is a separate project.
Most users use x264 _via_ ffmpeg since they may need to filter the video and/or filter/process/mux audio and other streams.
Just try copying video between different containers (mkv, ts, avi for one) without reencoding.
> Most users use x264 _via_ ffmpeg since they may need to filter the video and/or filter/process/mux audio and other streams.
They don't have to do that; you can handle each track separately and mux them back afterward.
I'm talking about ffmpeg's builtin MPEG2/4/MP3 encoders, which nobody used when they were competitive because it leaves all the options at "go fast" instead of providing tunings.
They're also unmaintained and the code is hard to figure out - that's why x264 was a separate project instead of just another part of libavcodec.
Continue this thread — 1 reply
1. Jersey - https://github.com/eclipse-ee4j/jersey 2. Jetty - https://github.com/eclipse/jetty.project 3. Guava - https://github.com/google/guava
Common theme is - Easy to follow, clean documentation & use of consistent patterns.
All comments shown.
Couldn't load more comments. Check your connection and try again.