Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
‘#Mastery07’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Thu, 26 Nov 2015 05:06:44 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ #Mastery7 and #Mastery17 #TC1017 https://kenscourses.com/tc101fall2015/2015/mastery7-and-mastery17-tc1017/ Thu, 26 Nov 2015 05:06:44 +0000 https://eduardotorresb.withknown.com/2015/mastery7-and-mastery17

Link

and

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery07 https://kenscourses.com/tc101fall2015/2015/mastery07-5/ Thu, 26 Nov 2015 00:34:38 +0000 http://5nbppkkyj.wordpress.com/?p=170 ]]> Use of comments in Python

It is said that comments tell you why and your code tells you how. When you code, you are telling your computer what to do using just instructions. It is not a human that needs to know the actual reasons why it works but you do have to keep your audience in mind.

Depending on what you are coding, you will find that your use of comments will change so at times they may serve as warnings other times as simple explanations.

In several tutorials or learning resources you will find short comments explaining what does what, as a beginner they will help you understand how the code works and with enough practice you will eventually learn why it works.

Are comments crutches?

This follows the idea that your code cannot be made more readable with more comments. Comments on our programming level are crutches that we will eventually stop relying heavily upon. So it is important to note that your code does not need comments. You should only use them when it cannot be made easier to understand.

Your audience

Your comments will most likely be read. By others, whether that’s a coworker or future you. If you are like me, when you go back to old code (and you remember nothing about it) comments will help you understand it faster.
Regardless of whom is it aimed at, you should avoid repeating things that are obvious in your code. There is an exception to this, when your code looks obvious but it’s not comments are the option. For example, if you’re multiplying a variable by some an arbitrary number, explain why you’re doing so. If you trim something specific from a string before returning, put a comment in explaining why so that the person reading doesn’t have to spend time tracking it down themselves.

How to comment
Another use of comments is to give an overview of what is going on, as opposed to explain each step.
This code is what your comment described, but is commented with higher-level descriptions of what’s going on rather than a line-by-line description of the code.

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery #7 – Use of comments in Python https://kenscourses.com/tc101fall2015/2015/mastery-7-use-of-comments-in-python-2/ Wed, 25 Nov 2015 20:43:40 +0000 http://dragv.wordpress.com/?p=152 ]]> Here’s my video of me explaining mastery #7.

Enjoy.

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 7 – Use of comments in C++ https://kenscourses.com/tc101fall2015/2015/mastery-7-use-of-comments-in-c/ Thu, 29 Oct 2015 02:34:12 +0000 http://andreandradec.wordpress.com/?p=197

]]>
https://creativecommons.org/licenses/by/4.0/
Here is Mastery #1 and Mastery #7. The first one was about… https://kenscourses.com/tc101fall2015/2015/here-is-mastery-1-and-mastery-7-the-first-one-was-about/ Wed, 28 Oct 2015 15:47:29 +0000 http://bsolisale.tumblr.com/post/132087540680

Here is Mastery #1 and Mastery #7. The first one was about creating a C++ file, and the second one was about writing comments on C++. Both arre really easy. I decided too keep the voice with speed and the change of voice. Here is the video: https://www.youtube.com/watch?v=0eBR0vuEuo4

]]>

Here is Mastery #1 and Mastery #7. The first one was about creating a C++ file, and the second one was about writing comments on C++. Both arre really easy. I decided too keep the voice with speed and the change of voice. Here is the video: https://www.youtube.com/watch?v=0eBR0vuEuo4

]]>
https://creativecommons.org/licenses/by/4.0/
#Masteries 1 and 7 https://kenscourses.com/tc101fall2015/2015/masteries-1-and-7-4/ Wed, 28 Oct 2015 01:08:13 +0000 http://manuelgodm.wordpress.com/?p=76 ]]> Mastery 1. Ability to create C++ file and run from command line…

Mastery 7. Use of comments in C++….

And here my video:

]]>
https://creativecommons.org/licenses/by/4.0/
#Masteries 1 and 7 https://kenscourses.com/tc101fall2015/2015/masteries-1-and-7-3/ Wed, 28 Oct 2015 01:08:13 +0000 https://manuelgodm.wordpress.com/?p=76 ]]> Mastery 1. Ability to create C++ file and run from command line…

Mastery 7. Use of comments in C++….

And here my video:

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 7 and 13: Use of comments in C++ & Importing and using C++ libraries https://kenscourses.com/tc101fall2015/2015/masteries-7-and-13-use-of-comments-in-c-importing-and-using-c-libraries-2/ Tue, 27 Oct 2015 04:47:48 +0000 http://samanthariverac.wordpress.com/?p=196 ]]> OK so for this new series of masteries, I am also going to improve myself in movie maker … jajaja 🙂

Here is the video: https://youtu.be/YxFgrD5cA3E

Thanks for watching!

]]>
https://creativecommons.org/licenses/by/4.0/
Masteries 7 and 13: Use of comments in C++ & Importing and using C++ libraries https://kenscourses.com/tc101fall2015/2015/masteries-7-and-13-use-of-comments-in-c-importing-and-using-c-libraries/ Tue, 27 Oct 2015 04:47:48 +0000 https://samanthariverac.wordpress.com/?p=196 ]]> OK so for this new series of masteries, I am also going to improve myself in movie maker … jajaja 🙂

Here is the video: https://youtu.be/YxFgrD5cA3E

Thanks for watching!

]]>
https://creativecommons.org/licenses/by/4.0/
#Mastery07 https://kenscourses.com/tc101fall2015/2015/mastery07-2/ Fri, 18 Sep 2015 20:59:16 +0000 http://giorgio6859.wordpress.com/?p=38 Use of comments in C++

]]>
https://creativecommons.org/licenses/by/4.0/