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 Group Title

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

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. TamaHobbit Group Title
    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 years ago
  2. Timor-Leste1432 Group Title
    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;

    • 2 years ago
  3. TamaHobbit Group Title
    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.

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

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

    • 2 years ago
  5. KonradZuse Group Title
    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

    • 2 years ago
  6. TamaHobbit Group Title
    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

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

    Ok i understand thanks so much guys

    • 2 years ago
  8. KonradZuse Group Title
    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";

    • 2 years ago
  9. KonradZuse Group Title
    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.

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

    http://ideone.com/6qTdg

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