Thread: Second year paper.

  1. #16
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    Quote Originally Posted by Shaun_B View Post
    s$=s$+letters[eye];
    Does Java allow the "$" character to be included in variable names? I've only seen that in PHP and BASIC...
    My Website

    "Circular logic is good because it is."

  2. #17
    Registered User
    Join Date
    Mar 2011
    Posts
    6

    Thumbs up

    Quote Originally Posted by DavidP View Post
    Does Java allow the "$" character to be included in variable names? I've only seen that in PHP and BASIC...
    Yes it does - or at least I use them because it to me tells me that variable is a $tring :-) my naming conventions are based on my experience of high-level BASIC and the way I program is usually influenced from my assembly language/machine code days (actually doing some good old 6502 at the moment).

    As for the suggestion of not writing this paper - please don't worry, I'll keep everyone anonymous (which is kind of the point of forums anyway isn't it? That you don't have to use your real names). From a human psychology point-of-view, my professional background is in social science and not computer science; I'm retraining. So, the answers and opinions many of you have given have been both interesting and exactly what I'd expect to hear really.

    Oh, and Mike Dailly's post here is an interesting read.

    Cheers chaps!

    Regards,

    Shaun.

  3. #18
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by Shaun_B View Post
    Yes it does - or at least I use them because it to me tells me that variable is a $tring :-)
    *vomits*
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  4. #19
    Registered User
    Join Date
    Mar 2011
    Posts
    6
    Quote Originally Posted by ಠ_ಠ View Post
    *vomits*
    Can I quote you on that...? Stupid question as I just have :-)

    Regards,

    Shaun.

  5. #20
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by Shaun_B View Post
    Can I quote you on that...? Stupid question as I just have :-)

    Regards,

    Shaun.
    please do.

    That was COBOL speaking, if it helps. (and every other language I know except Visual Basic, where a variable's definition and use are located in completely different areas, but mostly COBOL)
    Last edited by ಠ_ಠ; 03-30-2011 at 03:28 AM.
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  6. #21
    Registered User
    Join Date
    Mar 2011
    Posts
    6
    Thanks for your responses, the paper is now written and submitted. As I don't know any of you personally, and as using forum names just didn't seem right to me, I used all quotes anonymously, mixed in with some views from a few professional programmers that I know and have met over the years.

    I'll let you know what mark it gets; I'm hopeful of a pass and nothing more simply because the module I've written the paper for doesn't matter to me as it will not affect my continued studies in the next acedemic year. In other words, I wrote it as I wanted and made it fit the assignment brief as best I could. Anyone wanting to see a copy may PM me :-)

    Regards,

    Shaun.

  7. #22
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    inb4 0 points
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  8. #23
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by Shaun_B View Post
    Don't worry Fordy, no trickery here - and in any case, why not just:

    Code:
    System.out.println ("Hello World!");
    anyway? I'd be worried if I was on the second year of a degree programme and my homework was so simple :-)

    Some background to this. I met with some third year students whom were studying software development, and seemed worried about not covering any C++ because "that's what the industry wants" apparently. What have they been doing for the last three years if they're unable to transfer their skills and knowledge from Java to C, C++ or any other problem-orientated language? It made me wonder, which is why I decided to write a paper about it.

    Regards,

    Shaun.
    They should be doing things outside of University too... it's not a day-care centre.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 02:20 PM
  2. Issues and questions about queues
    By Nazgulled in forum C Programming
    Replies: 36
    Last Post: 12-13-2007, 02:03 PM
  3. Calendar Problem
    By wordup in forum C Programming
    Replies: 7
    Last Post: 10-29-2002, 03:36 PM
  4. error with code
    By duffy in forum C Programming
    Replies: 8
    Last Post: 10-22-2002, 09:45 PM
  5. cant get code to work
    By duffy in forum C Programming
    Replies: 13
    Last Post: 10-20-2002, 05:23 AM