Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Timor-Leste1432

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

  • one year ago
  • one year ago

  • This Question is Closed
  1. TamaHobbit
    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

    • one year ago
  2. Timor-Leste1432
    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;

    • one year ago
  3. TamaHobbit
    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.

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

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

    • one year ago
  5. KonradZuse
    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

    • one year ago
  6. TamaHobbit
    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

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

    Ok i understand thanks so much guys

    • one year ago
  8. KonradZuse
    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";

    • one year ago
  9. KonradZuse
    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.

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

    http://ideone.com/6qTdg

    • one year ago
    • Attachments:

See more questions >>>

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.