WallOfShame: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Created page with "=Wall of Shame= An informal list of exceptionally bad prog code. It should serve as a warning to others. ==That's not how named variables work== SeqTool: 'N' Recall# Nu..."
 
Jeffm (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:


Someone was a bit unclear on the concept, this is why training helps.
Someone was a bit unclear on the concept, this is why training helps.
==Brackets?!?!==
  Recall# [ADD# Num#('6000') Recall# ADD# Num#('7000') Operation# ]
When have those been legal?
==This was obviously not tested==
  IF Equal? RadialOp? AND ToolGroup# Num#('1')
This would have ignored the RadialOp? and the AND
 
  IF Flag?('SubSpindleIn') SameTool?
Was there another word you were looking for? Maybe AND?

Latest revision as of 22:06, 13 April 2015

Wall of Shame

An informal list of exceptionally bad prog code. It should serve as a warning to others.

That's not how named variables work

 SeqTool:
   'N' Recall# Num#('SeqTool')
   Save# Num#('SeqTool') Add# Recall# Num#('SeqTool') Num#('100')
 RETURN

Someone was a bit unclear on the concept, this is why training helps.

Brackets?!?!

 Recall# [ADD# Num#('6000') Recall# ADD# Num#('7000') Operation# ]

When have those been legal?


This was obviously not tested

 IF Equal? RadialOp? AND ToolGroup# Num#('1')

This would have ignored the RadialOp? and the AND

 IF Flag?('SubSpindleIn') SameTool?

Was there another word you were looking for? Maybe AND?