textchan read a book
Leave these fields empty (spam trap):
Posting mode: Reply
(for post and file deletion)
7 friends currently visiting!


Rules   Contact   do not post list (DNP)

1. If a thread is locked and images are removed, reposting the media will result in a ban.

No.167 : Anonymous [2014-10-07 00:04] [Report] [SNAP]
>five years ago
>working for document management company
>tech lead had 10 years experience
>in VB3
>designing new platform from scratch
>document entity had user added key/value pairs
>stored as a public array
>every time a key/value was to be added, there was a copy-pasted snippet like that
>every time a key was to be looked up, there was a for loop doing linear search
>always duplicated, never as a method on the entity or even in the classes that used it most
>I eventually replaced it with a hash table and proper encapsulation.
>cleaned up over 500 such fucking loops
>quit within the year
>was not soon enough


Delete Post [ ]

Return | To top of page ^