Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

David_Novo

  • 3 years ago

In PS4 what is the difference between the build_coder and the build_encoder functions?

  • This Question is Closed
  1. FluffyCat
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    build_coder can shift in both the positive and negative direction, and is meant to be used as a helper function for build_encoder and build_decoder. build_encoder only shifts in the positive direction, and is only meant to encode messages (as opposed to decoding them).

  2. robotsari
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The implementation of build_coder should be short - it only calls the build_decoder or build_encoder as needed. This is an example of using abstraction. Someone using your code doesn't have to worry about what they should use (build_encoder or build_decoder) if they just want to build a coder.

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy