3 ms·
The problem is not macros, it is concatenation of identifiers. I stumbled upon this a lot when working with CSS preprocessors which allow you to write code lik
by codedokode 2y ago
The problem is not macros, it is concatenation of identifiers. I stumbled upon this a lot when working with CSS preprocessors which allow you to write code like this:
.user {
&--profile { color: red; }
}
Now, searching for "user--profile" CSS class becomes imposible. Despite this, SASS and similar preprocessor seem to be popular and used almost everywhere. Well, I never had high expectations of front-end developers, so I am not very disappointed.
So I think as long as you don't break identifiers, the code should be searchable. But, your IDE will probably not able to help you with auto-complete and navigation.
- jgalt212 2y ago> The problem is not macros, it is concatenation of identifiers. Yes, that's also a problem. As is MySQLCursorDict Class. Now you have to grep every column name every table your code base accesses.