Selloff in software shares dragged down the entire market on Tuesday.

Selloff in software shares dragged down the entire market on Tuesday.

CNBC's Jim Cramer said the sell-off in software reflects a shift in how investors value future growth rather than a collapse in earnings.