WallOfShame

From Compost Wiki
Jump to navigation Jump to search

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?