A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 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

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.