Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

git submodules has always been a major dumpster fire. You’re honestly better avoiding regardless of SHA-256 incompatibilities
 help



The majority of C++ projects I work with use them. Telling people not to use a core git feature isn't viable

The only reason C++ projects depend upon submodules is because C++ is just as archaic as COBOL these days.

I used to be one of the more vocal defenders of C++ but honestly, if the reason you’re defending git submodules is because there’s no better option in C++; then you’ve basically already lost the argument.

Nearly every other language has found a better alternative. Even Go has, and that’s largely mocked for its prehistoric approach to modern programming language design.


I wouldn't call it a core feature -- more like a convenience hack.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: