Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Timor-Leste1432

  • 2 years ago

I'm new in the whole programming thing but basically what is the point of using pig latin when coding?

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

    Do you mean "pig" the language? http://en.wikipedia.org/wiki/Pig_%28programming_language%29 pig latin is used to hide your meaning in front of children. It is not used in coding

  2. Timor-Leste1432
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I meant like when instead of frog you would say ogfray for example: pigLatinWord = word + "ay "; or String ayString = "ay"; String pigString;

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

    Okay, so what is the question? "What is the point?" cannot be answered, since you came up with the programming problem.

  4. Timor-Leste1432
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    In other words when will i need to use pig latin when coding?

  5. KonradZuse
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I think you are confused. You make up your own words/coding practices yourself. So you could say worda = wordb + "e"; int a = 10; String s = "skjfklsdafjslkd"; etc

  6. TamaHobbit
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Pig latin has nothing to do with coding. You can name variables anything except the "reserved words" (such as "if" and "while"). For C++, these words can be found here: http://cs.smu.ca/~porter/csc/ref/cpp_keywords.html

  7. Timor-Leste1432
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Ok i understand thanks so much guys

  8. KonradZuse
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Yeah, maybe your professor just decided to do that, which is w/e he wanted I guess... Usually you here the normal Comp Sci lingo "foo/bar" but there are a few others. So like int foo = 5; String bar = "lasagna";

  9. KonradZuse
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    But like I said before always name it as something you can remember. byte faceShelf, pattern; float x, y, w, h; short depth; String name; Long side; int x1; int y1; int w1; int h1; With this I know exactly what is what and also another important thing is what makes a good programmer a good programmer is his ability to write code others can understand. Most likely you will be correcting other people's code/ sharing code with others in a group(depending on your work). So if they cannot read your code, you're in trouble... I am lucky enough to be working on my own and with 1 other person, but the code is all mine for the most part.

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

    http://ideone.com/6qTdg

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

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

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...

23

  • 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.