Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of BalticMusicFan

BalticMusicFan

BalticMusicFan has asked 2 questions and find answers to 2 problems.

Stats

44
EtPoint
8
Vote count
2
questions
2
answers

About

BY DAY: Chemistry student/teacher/expert. BY NIGHT: 32/64 bit assembly coder for Windows (i386, AMD64), before that - PHP/HTTP/CSS/JS/C/C++/Python 'slash' some other languages I might forgot to mention.

Why I switched to assembly only coding? I found it much less ambiguous than some C++ code thus much easier to trace/check/verify/edit.

Unstructured programming is dangerous! How you are going though your own spaghetti code? You are told to avoid unstructured programming as much as possible by your teachers. You maybe do not know what rules to follow because assembly language says no rules, and spaghetti code appears from nearly limitless possibilities how to perform some operation. These are my rules:

  • All code above point of label definition in all cases has 100% correct described state in label name it reaches. For other languages it would mean interpreter/compiler fails if you have not added sensible and unique comment about what have you done after each if, else block and at the beginning of each loop.