<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>NexGen: Software Development: arduino sketch &amp;amp; eclipse on Linux. Part 2</title><link>/members-area/personalblogs/b/nexgen-flight-simuator/posts/nexgen-software-development-arduino-sketch-eclipse-on-linux-part-2</link><description>Ok now the fun stuff. Now we can do something.. We still have a small mess to clean up now. It&amp;#39;s the Arduino&amp;#39;s Libraries. They are quite a mess so here is what we have to doThe Arduino&amp;#39;s IDE wants only to see two main functions:setu...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: NexGen: Software Development: arduino sketch &amp;amp; eclipse on Linux. Part 2</title><link>https://community.element14.com/members-area/personalblogs/b/nexgen-flight-simuator/posts/nexgen-software-development-arduino-sketch-eclipse-on-linux-part-2</link><pubDate>Sat, 30 Jun 2018 17:17:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4d103627-b5ff-4514-a922-313ef7befbc9</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Coding and code formatting is a lot like religion.&amp;nbsp; Everybody has their own ideas on what is right and wrong and will defend their views with the greatest of energy.&amp;nbsp; I have long since learned to let people do it their way, for they will never change their views until they decide to.&amp;nbsp; That being said, I started my C-coding with a similar style as &lt;span&gt;[mention:753dd297e7584712840f1c3de8add506:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; .&amp;nbsp; I removed every &amp;#39;unnecessary line, space and bracket, as if they were a valuable resource, not to be wasted.&amp;nbsp; I always felt that I was saving paper (as I preferred to be able to read my code, like it was in a book).&amp;nbsp; More and more, I drifted to a less sparse coding style (as &lt;span&gt;[mention:8fb233e8974445138ef0af2b63b49f94:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; seems to be promoting).&amp;nbsp; I moved my brackets onto a separate line, I used blank lines to break things up and I used copious comments.&amp;nbsp; The change for me had more to do with working in larger teams, and to another extent my having to lead more people in the coding process. I have worked in groups, where we would all agree on some basic ideals as far as coding styles go (some companies this was done with a single page document and with others it turned into thick tomes).&amp;nbsp; This works out nicely if all the folks can agree and is a continuing struggle when they don&amp;#39;t.&amp;nbsp; These days, I so prefer to work alone (being semi-retired and doing consulting makes this so much easier), but I find that I still prefer the less sparse coding style as I find that I can pick up my code months later and can more quickly make sense of what I wrote.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21356&amp;AppID=300&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: NexGen: Software Development: arduino sketch &amp;amp; eclipse on Linux. Part 2</title><link>https://community.element14.com/members-area/personalblogs/b/nexgen-flight-simuator/posts/nexgen-software-development-arduino-sketch-eclipse-on-linux-part-2</link><pubDate>Sat, 30 Jun 2018 11:12:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4d103627-b5ff-4514-a922-313ef7befbc9</guid><dc:creator>mcb1</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:753dd297e7584712840f1c3de8add506:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure what you&amp;#39;re referring to in this line&lt;/p&gt;&lt;p&gt;&lt;em&gt;It&amp;#39;s the Arduino&amp;#39;s Libraries. They are quite a mess&lt;/em&gt;&lt;/p&gt;&lt;p&gt;The later version seem to dump the libraries in the user space (well they do in windows), rather than where the program is installed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Personally I prefer to add them in the /library folder with the others.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wasn&amp;#39;t brought up coding, so I learned the hard way.&lt;/p&gt;&lt;p&gt;I prefer the { on a new line, as it makes it easier to read the &amp;#39;section&amp;#39; and when you put the cursor it highlights the matching { or }.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Blank space ....&lt;/p&gt;&lt;p&gt;While you may hate it, it does make it more readable.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I read somewhere the human brain can only take in three or four sentences at once ... either written or spoken.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sorry but when I look at your posting above, my brain says .&amp;quot;get out of here it hurts&amp;quot;. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-4d103627-b5ff-4514-a922-313ef7befbc9/contentimage_5F00_734.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Sadly you have some great content buried in there, but it will get overlooked if i&amp;#39;s too hard.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark&lt;/p&gt;&lt;p&gt;&lt;span&gt; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21356&amp;AppID=300&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>