<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Design patterns and useability</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38977/design-patterns-and-useability</link><description>Hi, 
 Having worked with your software on and off for some time now there are a few things I have noticed that are slightly disturbing when it comes to the SDK. 
 Usually any SDK (or API for that matter) is supposed to be a smorgasbord of routines to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Sep 2018 12:05:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38977/design-patterns-and-useability" /><item><title>RE: Design patterns and useability</title><link>https://devzone.nordicsemi.com/thread/150690?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 12:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:011d8a83-ca22-4db8-8803-5f08e3330beb</guid><dc:creator>AndersLundqvist</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Making a complete SDK for several differnt processors is not an easy task... And making structural changes to the vast SDK is not something you do unless you really, really have no other option. I do not envy your developers in any way.&lt;/p&gt;
&lt;p&gt;Perhaps I am just another &amp;quot;grumpy old man&amp;quot; who have spent his last 24 years programming various processors, languages and operative systems. Over the years I have come across code in all forms and structures, some of which I have come to appreciate and therefore reuse as often as I can. As you probably already have guessed, that will not be the case with nRF SDK5 (or any similar code). That do not in any way imply that the code is bad, on the contrary, the fact that your programmers have managed to get a working (well almost working) SDK from this code is an achievement. I am also sure that there are plenty of programmers out there who disagree with me and thinks that the SDK is the &amp;quot;jewel in the crown&amp;quot; and I have nothing but envy for them, wishing I was like them, but sadly I am not.&lt;/p&gt;
&lt;p&gt;One final word of advice to your programmers: Admittedly there are advantages of having code in &amp;quot;defines&amp;quot;, but when defines contains one or more defines that in turn contains defines and so on, things get a little &amp;quot;out of focus&amp;quot;. It may of course be intentional so that no clumsy *** (like myself) even attempts to alter any of the code, but it is hard to understand and especially debug (if you, like I, have had to do) to understand why things do not work as expected.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Anders&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Design patterns and useability</title><link>https://devzone.nordicsemi.com/thread/150677?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 11:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e94244cd-48c0-4f3d-99b2-ee6ea17e6e2f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Anders,&lt;/p&gt;
&lt;p&gt;I agree with you on all points. The SDK team is aware of this and I believe many of these points will be addressed&amp;nbsp;in the future. But as you write, the SDK is quite large, so it is difficult to change everything overnight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>