![]() |
|
[I Just Started Recently Java][Any advice would be greatly appreciated.] - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE) +--- Thread: [I Just Started Recently Java][Any advice would be greatly appreciated.] (/Thread-I-Just-Started-Recently-Java-Any-advice-would-be-greatly-appreciated) Pages:
1
2
|
RE: [I Just Started Recently Java][Any advice would be greatly appreciated.] - Psycho_Coder - 10-19-2013 (10-19-2013, 11:56 AM)Geoff Wrote:(10-19-2013, 11:30 AM)Psycho_Coder Wrote: I don't see what's so funny here. That code is kind of trolling, as it appears. You said that you need advice but what kind of advice you need you need you haven't stated those. This code is a simple timepass. Do something productive as for an example you can code a simple song or poem generator, this will generate poems and songs based of stanzas or length stated by the user. Yes I am very much sure of it. RE: [I Just Started Recently Java][Any advice would be greatly appreciated.] - The Real Slim Shady - 10-19-2013 (10-19-2013, 12:16 PM)Psycho_Coder Wrote:(10-19-2013, 11:56 AM)Geoff Wrote:(10-19-2013, 11:30 AM)Psycho_Coder Wrote: I don't see what's so funny here. That code is kind of trolling, as it appears. You said that you need advice but what kind of advice you need you need you haven't stated those. This code is a simple timepass. Do something productive as for an example you can code a simple song or poem generator, this will generate poems and songs based of stanzas or length stated by the user. Okay, well in regards to whats so funny, i dont see any one joking around? what exactly makes you believe anyone here is laughing or joking about anything? the advice he asked for would be safe to assume about the subject he posted about... i dont think he was asking for advice on cracking a windows password... as for usefulness... i dont see how that is relevant to someone learning a language. Ive taken a number of programming courses through highschool, college and university and quite frankly they never begin with particularly useful code. The point is to practice and advance your understanding of the language. That is clearly what this exercise is about and the purpose of posting it was feedback. If thats below you fine, but you dont need to bag on someone just because its of no use to someone like you. RE: [I Just Started Recently Java][Any advice would be greatly appreciated.] - Deque - 10-20-2013 (10-19-2013, 06:22 AM)~pheonix~ Wrote: I shall work on making it print out better, happy I posted the code on here I wiped my entire HDD and just installed ubuntu, starting with a fresh, non cluttered computer makes me feel better :3 I can help you out with Java related problems. Your code above looks alright. I would use a for loop instead of the while loop, because you are counting backwards. The very last verse can also be written after the loop to avoid checking everytime if only one verse is left to sing. No one can tell you if you should do C++ instead. What do you want to program? The decision on the programming language should always be made based on the things you want to create. Not the other way around. |