Elektrine lite

← Feed

@mre@mastodon.social

Post #2633019

2025-04-04 19:51 UTC

@mnf@mastodon.social oh, that's a good one! Fun story from University: the task was to build a list datastructure in C++ that could be converted into builtin datastructures like vectors. Took me two weeks and the other students two days. Turns out I misread the assignment and implemented an STL-compatible container, which is a whole different ballgame. Instructur was flabbergasted when they looked at the result. Learned so much about C++ internals that it was totally worth it. (Forgot all of it, of course.)

Replies (1)

  • @loke@functional.cafe 2025-04-05 13:00

    @mre@mastodon.social @mnf@mastodon.social I mean, if I understand the task correctly, your answer would be the only fully correct one (by industry C++ standards). Because otherwise you're going to have to argue with C++ fanboys about completely irrelevant performance issues. 😀

    Open ##2633020