Elektrine lite

← Feed

@jrose@social.belkadan.com

Post #1942221

2026-04-30 00:28 UTC

@Catfish_Man I agree the interview structure isn't the right one, but there's something to be said for picking the right data structure in the first place, so that you don't have to wait for the natural pushback later. 80% of the time it won't matter, and 5% of the time it might make things worse, but I think there's still a good 15% or so where having better defaults than "accidentally quadratic" is worth being part of the initial implementation.

Replies (1)

  • @gregtitus@social.coop 2026-04-30 13:28

    @jrose @Catfish_Man Picking the right one in the first place ( especially the simple but ubiquitous vector vs set) also can be very important for readability because it expresses the intent of what your code is doing so strongly.

    Open ##1942222