nancygold's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Saturday, May 25th, 2024

    Time Event
    12:59a
    Modern C++
    Reading Mojang's code:
    https://github.com/skypjack/entt/blob/master/src/entt/entity/entity.hpp

    It is only getting worse.
    For example they now do
    using u4 = uint32_t


    What happened to the typedef, you may ask.... - well, the same shit that happened to printf and #define.


    One probably expected them to implement a better macro processor, but instead they doubled the effort embedding a compile time esoteric language...
    template<bool Dummy = true, typename = std::enable_if_t<Dummy && std::is_default_constructible_v<base_type>>


    Reason? I don't know. Some processes just happen. Without any obvious reason.

    So yeah, I identify as data alchemist, not a developer or a programmer.

    Current Mood: amused

    << Previous Day 2024/05/25
    [Calendar]
    Next Day >>

About LJ.Rossia.org