Self-explaining naming



  •  From the production codebase:

      ls /appmsg
    C/appmsg02.c    C/appmsg44ar.c  C/appmsg4aj.c  C/appmsg4c.c   C/appmsg4n.c   C/appmsg7b.c        Include/appmsg43.h    Include/appmsg4ac.h  Include/appmsg4b2.h  Include/appmsg4k.h   Include/appmsg4yz.h
    C/appmsg05.c    C/appmsg45.c    C/appmsg4aq.c  C/appmsg4d.c   C/appmsg4p4.c  C/appmsg7c.c        Include/appmsg44a3.h  Include/appmsg4ah.h  Include/appmsg4b4.h  Include/appmsg4m.h   Include/appmsg7a.h
    C/appmsg3e.c    C/appmsg46.c    C/appmsg4as.c  C/appmsg4e.c   C/appmsg4q.c   Include/appmsg02.h  Include/appmsg44ar.h  Include/appmsg4aj.h  Include/appmsg4c.h   Include/appmsg4n.h   Include/appmsg7b.h
    C/appmsg3f.c    C/appmsg47.c    C/appmsg4at.c  C/appmsg4f.c   C/appmsg4q4.c  Include/appmsg05.h  Include/appmsg45.h    Include/appmsg4aq.h  Include/appmsg4d.h   Include/appmsg4p4.h  Include/appmsg7c.h
    C/appmsg3p.c    C/appmsg48.c    C/appmsg4au.c  C/appmsg4g.c   C/appmsg4r.c   Include/appmsg3e.h  Include/appmsg46.h    Include/appmsg4as.h  Include/appmsg4e.h   Include/appmsg4q.h
    C/appmsg3s.c    C/appmsg4a.c    C/appmsg4ay.c  C/appmsg4h.c   C/appmsg4s4.c  Include/appmsg3f.h  Include/appmsg47.h    Include/appmsg4at.h  Include/appmsg4f.h   Include/appmsg4q4.h
    C/appmsg40.c    C/appmsg4a4.c   C/appmsg4az.c  C/appmsg4h4.c  C/appmsg4v.c   Include/appmsg3p.h  Include/appmsg48.h    Include/appmsg4au.h  Include/appmsg4g.h   Include/appmsg4r.h
    C/appmsg41.c    C/appmsg4a5.c   C/appmsg4b.c   C/appmsg4i.c   C/appmsg4v4.c  Include/appmsg3s.h  Include/appmsg4a.h    Include/appmsg4ay.h  Include/appmsg4h.h   Include/appmsg4s4.h
    C/appmsg42.c    C/appmsg4a6.c   C/appmsg4b1.c  C/appmsg4j.c   C/appmsg4w.c   Include/appmsg40.h  Include/appmsg4a4.h   Include/appmsg4az.h  Include/appmsg4h4.h  Include/appmsg4v.h
    C/appmsg43.c    C/appmsg4ac.c   C/appmsg4b2.c  C/appmsg4k.c   C/appmsg4yz.c  Include/appmsg41.h  Include/appmsg4a5.h   Include/appmsg4b.h   Include/appmsg4i.h   Include/appmsg4v4.h
    C/appmsg44a3.c  C/appmsg4ah.c   C/appmsg4b4.c  C/appmsg4m.c   C/appmsg7a.c   Include/appmsg42.h  Include/appmsg4a6.h   Include/appmsg4b1.h  Include/appmsg4j.h   Include/appmsg4w.h

     

    Obviously, all these files contains this:

    Status_t AppMsgXXX(Message_t *pMessage,

                       AStructureXXX_t *pStruct)

    {

      Status_t Status;

        if(someTest(pStruct){

          Status =  CreateMessage(pMessage,"XXX");

        }

      return Status;

    }

     

    Surely, there's a better way to name^Wdo it ?



  •  is this from a porn game?



  • @Helix said:

    is this from a porn game?
    Probably with a focus on massage.



  • I don't think it's from a porn game. For some reason all porn games I've seen have had decently sane code bases.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.