<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Mon May 20, 2013 11:31 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Mon May 20, 2013 11:31 pm</pubDate>
  <lastBuildDate>Mon May 20, 2013 11:31 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100448#100448</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3554'&gt;AndyBaxman&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Jul 12, 2011 8:49 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Bazza wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Crikey jh...&lt;br /&gt;
&lt;br /&gt;
I ain't seen the AF, HL, BC, DE, IX and IY registers for donkeys years...&lt;br /&gt;
&lt;br /&gt;
I wrote a FULL screen testcard program for the Sinclair Spectrum by&lt;br /&gt;
writing graphics into the border using HiSoft assembly. The main window&lt;br /&gt;
was drawn in Spectrum BASIC but the border in assembly...&lt;br /&gt;
&lt;br /&gt;
RANDOMIZE USR &amp;lt;Basic Line Zero + Offset&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I remember it well... ;oD&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Wrote a MIDI sequencer for the spectrum and later ported it to and Amstrad CPC. The listing, as I remember it, was humongous, with about 30% of that humongousness being comments. Someone made a comments elsewhere about Spectrum's sounding crap compared to C64s. Mine sounded like an orchestra &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100448#100448</comments>
                                        <author>AndyBaxman</author>
                                        <pubDate>Tue Jul 12, 2011 8:49 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100448#100448</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100444#100444</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=58561'&gt;Bazza&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 11, 2011 10:03 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Crikey jh...&lt;br /&gt;
&lt;br /&gt;
I ain't seen the AF, HL, BC, DE, IX and IY registers for donkeys years...&lt;br /&gt;
&lt;br /&gt;
I wrote a FULL screen testcard program for the Sinclair Spectrum by&lt;br /&gt;
writing graphics into the border using HiSoft assembly. The main window&lt;br /&gt;
was drawn in Spectrum BASIC but the border in assembly...&lt;br /&gt;
&lt;br /&gt;
RANDOMIZE USR &amp;lt;Basic Line Zero + Offset&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I remember it well... ;oD</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100444#100444</comments>
                                        <author>Bazza</author>
                                        <pubDate>Mon Jul 11, 2011 10:03 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100444#100444</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100442#100442</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=63'&gt;guy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 11, 2011 8:49 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;AndyBaxman wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Of course, if you really want to write code that nobody (even you, after a week or two) can understand, then any form of assembly language would be the weapon of choice.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
It's also dead easy to customise an assembly language so only you know the equivalent machine code. Not quite so easy if you want the system to compile it though.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100442#100442</comments>
                                        <author>guy</author>
                                        <pubDate>Mon Jul 11, 2011 8:49 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100442#100442</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100441#100441</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2464'&gt;johnhudson&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 11, 2011 6:30 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      It does partly depend on how well you comment it. I dusted down some Z80 assembler code I wrote over 20 years ago to show someone and it was very easy to understand because I had done what my teachers drummed into me - added plenty of comments. Even I was surprised at how easy it was to understand after so many years.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100441#100441</comments>
                                        <author>johnhudson</author>
                                        <pubDate>Mon Jul 11, 2011 6:30 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100441#100441</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100431#100431</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=3554'&gt;AndyBaxman&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 11, 2011 9:32 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;M0PHP wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;In the interests of creating employment opportunities in the &lt;span style=&quot;font-weight: bold&quot;&gt;Java programming field&lt;/span&gt;, I am passing on these tips from the masters on how to write code that is so difficult to maintain, that the people who come after you will take years to make even the simplest changes.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Who needs a huge list of those tips to write unmaintainable code in Java - I thought it did that by default? &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
What a strange thing to say.&lt;br /&gt;
&lt;br /&gt;
Java is probably one of the easiest languages to write maintainable code with, and, while you can write &amp;quot;spaghetti&amp;quot; code in any language, there are plenty that beat Java with regard to the ease with which you can do so.&lt;br /&gt;
&lt;br /&gt;
Javascript's obscure paradigms make writing clean code a real chore, and the Perl community almost worships the ability to write code that nobody else can understand. VB is rightly famous for providing numerous features that aid the creation of incomprehensible code. C++ with its function pointers, make writing indecipherable code a breeze.&lt;br /&gt;
&lt;br /&gt;
Then there are the &amp;quot;functional&amp;quot; languages like Lisp and Prolog. Ouch!&lt;br /&gt;
&lt;br /&gt;
Of course, if you really want to write code that nobody (even you, after a week or two) can understand, then any form of assembly language would be the weapon of choice. Code that redefines itself on the fly? No problem!</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100431#100431</comments>
                                        <author>AndyBaxman</author>
                                        <pubDate>Mon Jul 11, 2011 9:32 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100431#100431</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100410#100410</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=25'&gt;M0PHP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 08, 2011 7:46 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;In the interests of creating employment opportunities in the &lt;span style=&quot;font-weight: bold&quot;&gt;Java programming field&lt;/span&gt;, I am passing on these tips from the masters on how to write code that is so difficult to maintain, that the people who come after you will take years to make even the simplest changes.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Who needs a huge list of those tips to write unmaintainable code in Java - I thought it did that by default? &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100410#100410</comments>
                                        <author>M0PHP</author>
                                        <pubDate>Fri Jul 08, 2011 7:46 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100410#100410</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100403#100403</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=63'&gt;guy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 08, 2011 12:08 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;img src=&quot;images/smiles/icon_redface.gif&quot; alt=&quot;Embarassed&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
Not bad for a beginner, but not really grasped the &lt;span style=&quot;font-weight: bold&quot;&gt;spaghetti code&lt;/span&gt; methodology:&lt;br /&gt;
&lt;br /&gt;
 - Use tabs and space characters constructively to mess up indentation in any other text editor.&lt;br /&gt;
&lt;br /&gt;
 - open in another text editor and partially correct indentations in arbitrary places.&lt;br /&gt;
&lt;br /&gt;
 - divide code base into multiple files, then multiple routines/procedures/ whatever within each file. For any given routine, do not call it from code within that file - always call it from within a different file. Break this rule occasionally. Particularly applicable to scripted web apps in php, python, jsp, etc.&lt;br /&gt;
&lt;br /&gt;
Also applicable to scripted web apps - if you need a thing many times, don't just do it once, do it each time in a different language, taking care to call each language version from a different language.&lt;br /&gt;
&lt;br /&gt;
Careful use of these techniques allows you to jump from deep within a nested structure without closing off cleanly behind you, while giving the appearance that you are doing so. Do not over-use this technique, or memory consumption and instability will become too obvious.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100403#100403</comments>
                                        <author>guy</author>
                                        <pubDate>Fri Jul 08, 2011 12:08 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100403#100403</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100393#100393</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2464'&gt;johnhudson&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 08, 2011 8:14 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I know people who do these things without even thinking about them.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100393#100393</comments>
                                        <author>johnhudson</author>
                                        <pubDate>Fri Jul 08, 2011 8:14 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100393#100393</guid>
                                      </item>
                                      <item>
                                        <title>Re: This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100380#100380</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=1257'&gt;lok1950&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jul 07, 2011 10:14 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Reminds me of early 70's IBM manuals &lt;img src=&quot;images/smiles/icon_lol.gif&quot; alt=&quot;Laughing&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
Enjoy the Choice &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100380#100380</comments>
                                        <author>lok1950</author>
                                        <pubDate>Thu Jul 07, 2011 10:14 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100380#100380</guid>
                                      </item>
                                      <item>
                                        <title>This is good... :oD</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=100377#100377</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=58561'&gt;Bazza&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Jul 07, 2011 8:18 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      A long read but enjoy... ;oD&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://thc.org/root/phun/unmaintain.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://thc.org/root/phun/unmaintain.html&lt;/a&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=100377#100377</comments>
                                        <author>Bazza</author>
                                        <pubDate>Thu Jul 07, 2011 8:18 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=100377#100377</guid>
                                      </item></channel></rss>