Up til now both types of programmers got along decently well because building things correctly and quickly have usually taken similar paths.
IMO those paths diverged in web development somewhere around 10 years ago. While you could write efficient websites using standard HTML features and minimum of JavaScript (the good-efficient path), companies and developers started going towards various frameworks, which were "faster" for developers to use, but usually at expense of performance on users' side, numerous dependencies, and security. Each framework trying to do its own thing, and some are conceptually entirely different from bare HTML+JS.