<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Notes Fromfactory on developwith — developer tips</title>
    <link>https://developwith.com/categories/notes-fromfactory/</link>
    <description>Recent content in Notes Fromfactory on developwith — developer tips</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 14 Apr 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://developwith.com/categories/notes-fromfactory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Coding Philosophy Interview</title>
      <link>https://developwith.com/from-the-factory/coding-philosophy-interview/</link>
      <pubDate>Sun, 14 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/coding-philosophy-interview/</guid>
      <description>&lt;p&gt;Ars Technica recently did an interview of the author of &lt;a href=&#34;https://www.amazon.com/gp/product/0735220565/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0735220565&amp;amp;linkCode=as2&amp;amp;tag=farmred-20&amp;amp;linkId=ded19e5a647dfa004b61b63655c6bf7c&#34;&gt;Coders&lt;/a&gt;, article can be found &lt;a href=&#34;https://arstechnica.com/gadgets/2019/04/how-the-new-art-form-of-coding-came-to-shape-our-modern-world/?utm_source=www.developwith.com&#34;&gt;here&lt;/a&gt;. In the interview, one of the more interesting quotes was:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;People who are writing code are speaking. They&amp;#39;re speaking to a machine, but they&amp;#39;re speaking&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This provoked a bit of commentary from the readership, mostly software engineers. The main point in the commentary was that we are speaking to machines but also to the next people that take on the code to maintain it. I used to use the expresssion, &amp;ldquo;Coding yourself out of a job&amp;rdquo;. This expression is the code should be so readable without documentation and simple enough that anyone can understand it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Dangers of Piggybacking Scripts</title>
      <link>https://developwith.com/from-the-factory/dangers-of-piggybacking-scripts/</link>
      <pubDate>Sun, 14 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/dangers-of-piggybacking-scripts/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s tempting to load a third-party script — analytics, chat widgets, ad trackers — into your application and call it a day. But every script you include runs with the same privileges as your own code. That convenience comes with real risks.&lt;/p&gt;&#xA;&lt;h2 id=&#34;supply-chain-attacks&#34;&gt;Supply Chain Attacks&lt;/h2&gt;&#xA;&lt;p&gt;When you include a script from a third-party CDN or domain, you&amp;rsquo;re trusting that:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;The provider won&amp;rsquo;t go malicious.&lt;/strong&gt; A compromised or hostile script vendor can inject keyloggers, steal cookies, or exfiltrate user data.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The provider won&amp;rsquo;t be breached.&lt;/strong&gt; If their CDN is compromised, every site loading that script is affected.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The script won&amp;rsquo;t be removed.&lt;/strong&gt; When a script disappears, your application breaks — or worse, a different script can be served at the same URL.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://twitter.com/thezedwards/status/1112563838178607105&#34;&gt;Zach Edwards tweet thread&lt;/a&gt; highlighted how scripts loaded from third parties can collect far more data than their stated purpose, often sending it to additional endpoints without the site owner&amp;rsquo;s knowledge.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What do I name this thing?</title>
      <link>https://developwith.com/from-the-factory/what-do-i-name-this-thing/</link>
      <pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/what-do-i-name-this-thing/</guid>
      <description>&lt;p&gt;Everyone comes to a point in your development career when you can&amp;rsquo;t figure out what to name something? Say you have some method or function that moves something up a stack. There are so many names it could be &lt;code&gt;increment&lt;/code&gt;, &lt;code&gt;advance&lt;/code&gt;, and &lt;code&gt;move&lt;/code&gt; are some options. The cognitive load of thinking about what to name functions verse solving the business logic a real struggle.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve see arguments and debates go on for years related to what to name a variable, or what to call a method. Should the class be a Factory, Manager or maybe its an Aggregator. The amount of time spent coming up with the perfect verbage in development is overwhelming sometimes. Some teams are better than others, but overall you&amp;rsquo;ll come across the &lt;code&gt;What do I call this?&lt;/code&gt; debate on a pull request, a slack channel or even in some type of meeting.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Which Branching Model Should You Pick?</title>
      <link>https://developwith.com/from-the-factory/branching-models/</link>
      <pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/branching-models/</guid>
      <description>&lt;p&gt;Choosing a branching model is one of the first decisions a team makes with Git. There&amp;rsquo;s no single right answer — the best model depends on your team size, release cadence, and deployment process. Here&amp;rsquo;s a practical comparison of the most common strategies.&lt;/p&gt;&#xA;&lt;h2 id=&#34;trunk-based-development&#34;&gt;Trunk-Based Development&lt;/h2&gt;&#xA;&lt;p&gt;Everyone commits to &lt;code&gt;main&lt;/code&gt; (or &lt;code&gt;master&lt;/code&gt;) frequently — at least once a day. Short-lived feature branches may exist, but they&amp;rsquo;re merged within a day or two.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
