2010 Replies - 65321 Views - Last Post: 17 January 2017 - 10:07 AM
#571
Re: What are you working on today?
Posted 06 October 2016 - 11:51 AM
#572
Re: What are you working on today?
Posted 06 October 2016 - 12:24 PM
#573
Re: What are you working on today?
Posted 06 October 2016 - 12:26 PM
Nitewalkr, on 06 October 2016 - 12:22 PM, said:
--snip--
Right.
And hey, saying that it's a weakness doesn't mean I'm necessarily bad at it, or dislike it. I'm not saying "hell with documentation!" It's just the area I feel weakest. Hell, with the new job and everything I've been documenting (as there was no IT shop at all there is no documentation whatsoever for anything, so I'm writing it all) - I may no longer be able to call it my weakest point.
#574
Re: What are you working on today?
Posted 06 October 2016 - 12:43 PM
#575
Re: What are you working on today?
Posted 06 October 2016 - 12:55 PM
#576
Re: What are you working on today?
Posted 06 October 2016 - 01:02 PM
I highly recommend checking out this book. It changed the way I write.
#577
Re: What are you working on today?
Posted 06 October 2016 - 02:19 PM
depricated, on 06 October 2016 - 07:26 PM, said:
Nitewalkr, on 06 October 2016 - 12:22 PM, said:
--snip--
Right.
And hey, saying that it's a weakness doesn't mean I'm necessarily bad at it, or dislike it. I'm not saying "hell with documentation!" It's just the area I feel weakest. Hell, with the new job and everything I've been documenting (as there was no IT shop at all there is no documentation whatsoever for anything, so I'm writing it all) - I may no longer be able to call it my weakest point.
should've read the "--snip--" I did make it clear that I knew that you did not say anything of "hell with documentation," sort, It is just something that every programmer should learn to live with.
If you talk about the diagrams in terms of documentation, I have not done those in a long time! I should bring that in to practice so at least when the employer is reviewing my code, he will have something to make sense out of it.
I also did not know that commenting is a bad thing. =\
EDIT: and than there is NEO's post. Good one
This post has been edited by Nitewalkr: 06 October 2016 - 02:20 PM
#578
Re: What are you working on today?
Posted 06 October 2016 - 02:26 PM
#579
Re: What are you working on today?
Posted 06 October 2016 - 02:31 PM
Later am going to hit our own website dev for a few hours, see if I can't iron out a few CSS issues.
And then it's this weekend's podcast, for another site, a complete breakdown of the Paranormal Activity franchise, episode titled "Is Toby Simply a Dick"
#580
Re: What are you working on today?
Posted 06 October 2016 - 03:09 PM
modi123_1, on 06 October 2016 - 04:26 PM, said:
Right. And for me - and most fans of the clean code style - that means "as little as possible"
For example, I will comment lines that are known to be uncovered by our tests, so people can be careful about them. Again, this is a code smell that we want to eliminate, but sometimes I'm not going to drop everything to get coverage on that line when I have a fix that needs to get done. Or I might comment something that is done in some non-obvious way, or for some non-obvious reason. Obviously, I'd prefer to simply make the code itself clearer, so the comment indicates that something needs to be done. (hence, it's a code smell)
#581
Re: What are you working on today?
Posted 06 October 2016 - 03:51 PM
#582
Re: What are you working on today?
Posted 06 October 2016 - 04:46 PM
#583
Re: What are you working on today?
Posted 06 October 2016 - 06:35 PM
Also, some c
int p = 0; // number to which you wish to find primes int prev = 2; // previous prime for determining pair int pairs = 0; // number of prime pairs int sieve[MAX]; // array of numbers for sieve int i = 0; // indexing var int n = 2; // another indexing var
#584
Re: What are you working on today?
Posted 06 October 2016 - 06:43 PM
This post has been edited by NeoTifa: 06 October 2016 - 06:44 PM
#585
Re: What are you working on today?
Posted 07 October 2016 - 07:03 AM

New Topic/Question
This topic is locked




MultiQuote









|