u/gromenawer - 2 Archived Voat Posts in v/programming
u/gromenawer
  • home
  • search

u/gromenawer

0 posts · 2 comments · 2 total

Active in: v/programming (2)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: What do you guys think of NASA's programming guidelines? Are they too strict or do they make sense when code correctness is life-or-death?

I usually do everything says here. I agree with everything except this:

All loops must have a fixed upper-bound. It must be trivially possible for a checking tool to prove statically that a preset upper-bound on the number of iterations of a loop cannot be exceeded. If the loop-bound cannot be proven statically, the rule is considered violated.

I would call a while loop is a perfectly valid loop which can have, potentially no upper bound. For example, while users doesn't press exit, keep doing stuff. Maybe I'm being pedantic here and it only refers to for loops.

1 18 Jul 2015 16:39 u/gromenawer in v/programming
Comment on: Guide to x86 Assembly

Fun fact, RollerCoaster Tycoon was done in Assembly. I did a Tetris for an university course and the manuals of the Pentium still haunts me on my dreams.

1 02 Jun 2015 20:49 u/gromenawer in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.