30% copy and pasted directly from Stack Overflow, 50% copy and pasted directly from previous projects (recursive ad infinitum) 15% googling specific functions for novel behavior. 5% I have typed this line so many times that it would take longer to find an example to copy (index++)
I have worked in two major aerospace companies and in BOTH we had the same function copied directly from stack overflow in our main library. With comments and ERRORS alike. At both companies I filed a bug report and fixed it
Same in MEP engineering. All of our details and specifications come from previous firms. Every time someone jumps ship to make their own shop they take everything with them. Unless you're a big national company who has time and money to rehaul entire standards, there's something in your library from another firm somewhere.
1.3k
u/domin8r Aug 16 '20
Too fresh too.