DEV Community

Discussion on: Those silly mistakes we all make

Collapse
 
phlash profile image
Phil Ashby

Probably my most annoying habit, that gets me far too often:

% vi whatever.c
% gcc whatever.c
% ./whatever
bash: ./whatever: No such file or directory
% {grumbling} mv a.out whatever
% vi Makefile

Too much haste, should always write the Makefile first!

Collapse
 
philnash profile image
Phil Nash

Hehe, I've trained myself to start every project, no matter what, with some sort of project generator script to make all the files I need. I've definitely spent my time grumbling over this sort of thing before though 😅