luck, db
There are no new questions, but there may be new answers.
yes we are much ok with it.on ranch we have plenty of volunteers who have a sole intension to help others.so ask the questions or about suggestions without any hesitation.Carlos wrote: i would like to know if it's ok with you guys if a post here my code to get some advice and suggestions about it.
I appreciate your effort.in my opinion that's is a best way to learn something.so just best of luck for your future.Carlos wrote:I'm not in no course (i'm a self learner) so none of my questions are homework. just some tasks that i find and start to try to code them.
Bingo!! That's what we want from your side in fact we do not provide solutions but a hint or some kind of help so that you can build your solution yourself.Carlos wrote:I don't want "the job done" so to speak. just insights on what may be wrong, ways to improve and such.
Ranch is Different from those many forums..Carlos wrote:Many foruns don't like this kind of things so that's why i'm asking first.
Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
Hi Carlos and welcome to the Ranch! We have a page about How To Ask Questions On Java Ranch -- follow even half the advice enshrined there and you're gold!
I appreciate your effort.in my opinion that's is a best way to learn something.so just best of luck for your future.
Bingo!! That's what we want from your side in fact we do not provide solutions but a hint or some kind of help so that you can build your solution yourself.
Ranch is Different from those many forums..
no worries first of all here is a quote from Martin Fowler, "Refactoring: Improving the Design of Existing CodeCarlos wrote:I'm glad to ear that! But nevertheless i had to ask cause "time is money" and you are all volunteers here... And some of the code i may post can be lengthy (for instance i'm currently doing an implementation of an HugeInteger class that i found in book "Java How to Program - 10th ed". As you can imagine it has a lot of lines of code already...).
so try to write that lengthy code in a way so that we can understand it.ask for code reviews here.we will help you at our best.Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
Please use complete words.if you would look into the link,Darryl has given,it is mentioned there to avoid acronyms,abbreviation etc..because here on ranch we have volunteers and members from different countries and they all have not the English as the native language(like me) so they may find it hard to parse those words.Carlos wrote:ear that...ask cause
Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
Try to enjoy your work while doing it,it will Automatically convert in Hard Work...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
fred rosenberger wrote:I think tehre is a window of time...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
praveen kumaar wrote:... a quote from Martin Fowler, "Refactoring: Improving the Design of Existing Code
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Carlos Reves wrote:I read a lot of times already that we should do that so that "the next guy" that reads the code can easily understand it.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
Carlos Reves wrote:Just one more question...
Even though in the How To Ask Questions On Java Ranch page is said to post my code in the message using the code tags, if it is a long code, is it acceptable to attach the .java source files instead?
moose poop looks like football shaped elk poop. About the size of this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|