davidof organizations didn’t fully understand why they were bringing interns into the company. The purpose of an internship is to provide an educational opportunity and resume for those looking to break into the industry, and in some cases, hire the intern after graduation to get a new hire who is a better fit for the team than average. That’s it. It’s good for the intern, it’s good for the health of the industry as a whole, and it’s good for the company that’s building a network of professional relationships and recruiting opportunities.
The purpose of the internship is do not have Just throw a ticket at your intern and have them commit code to the main branch unsupervised. Unfortunately for David and the poor interns before him. that That’s what the company did.
foreach (BusinessObject unit in listA)
listB.Add(unit.STRUCTURAL_UNIT);
foreach (int objectId in listB)
foreach (BusinessObject object in listA)
if (object.objectId == objectId)
listC.Add(object);
foreach (BusinessObject object in listC)
BusinessObject objectTemp = new BusinessObject();
objectTemp.objectId = object.objectId;
objectTemp.description = object.description + " (" + object.objectId.ToString() + ")";
listD.Add(objectTemp);
Therefore, we gave it a name that is easy to understand. listA
of business objects. Take the structural unit and add it to a file with a similar friendly name. listB
, This time it’s an integer. Then, for every integer in listB
Compare all entries in . listA
and the object ID of the object is listA
matches one of the IDs of listB
– Generated from entries in list * listA
– we put it listC
.
after that repeat listC
construct a completely new business object and update its description with the object ID, listD
.God knows what will happen listD
.
However, the end result of this block is a list of business objects whose IDs and descriptions are specially initialized based on another list of business objects. This is somehow O(n^2)
Surgery. Maybe this intern is smarter than we think and was intentionally building a speedup loop, but someone with no experience gets thrown into a problem over their head. This is likely the result of a lack of guidance and supervision.
Interns are there to learn.Trying to get free (or cheap) labor from interns will only cost you more many more In the long run.
ProGet provides security and access control for NuGet feeds. learn more.