<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged code-style</title>
<link>https://www.question2answer.org/qa/tag/code-style</link>
<description>Powered by Question2Answer</description>
<item>
<title>Do you think this is a good code ?</title>
<link>https://www.question2answer.org/qa/81160/do-you-think-this-is-a-good-code</link>
<description>Hi all,&lt;br /&gt;
I immediately started using q2a and put to production w/out give any eye to the code.&lt;br /&gt;
Then I realized I needed some tweaks, and I gave I look inside..&lt;br /&gt;
Actually I did not take look in anyone else &amp;nbsp;code since 20 years now, but I found this extremely difficult to follow, scattered , redundant and verbose (not in comment but in code)&lt;br /&gt;
what do you think ?&lt;br /&gt;
thank you &amp;nbsp;.&lt;br /&gt;
&lt;br /&gt;
EDIT: What I did is adding two fields to the question...&lt;br /&gt;
I started reading from the part where sql does &amp;nbsp;&amp;quot;insert into qa_posts .. &amp;quot; then following all class and functions upwords .. hard...&lt;br /&gt;
Then I discovered the &amp;quot;extra&amp;quot; field and I realized the only cheap and dirty, dont-think approach, was to add code to duplicate all &amp;quot;extra&amp;quot;s parts , looking for every &amp;quot;extra&amp;quot; appearing in the whole project. (in this VScode si great). This fixed the form part.&lt;br /&gt;
Wow, that was easy. Then came the part to show extra2 all over the lists and the questions. this took twice the time of the form/db part .&lt;br /&gt;
Total task was less than 3hr</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/81160/do-you-think-this-is-a-good-code</guid>
<pubDate>Tue, 11 Feb 2020 05:25:53 +0000</pubDate>
</item>
</channel>
</rss>