3 ms·
I just came across this message some days ago. What's the reason for C++ refactoring being hard?
by wingerlang 13y ago
I just came across this message some days ago. What's the reason for C++ refactoring being hard?
- acchow 13y agoI'm not a C++ programmer, but I'd imagine it having to do with turing-complete metaprogramming.
- pjmlp 13y agoThe preprocessor, which means whatever the editor sees might have a complete different meaning. There are people that make all sorts of dirty tricks with the C and C++ preprocessor. C++'s grammar is not context free, so you really need a compiler frontend to make sure the refactored code isn't broken.
- EpicEng 13y ago(lack of) context free grammar.