Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What "system" would you use for random "requirements" (dots on a piece of paper)? The only reasonable thing to do is to push back on "requirements" that don't fit into the existing requirements/software/implementation.


The thing about this game is that there is no requirement that is technically impossible.

That's provable; with no closed loops, any pair of points on the paper can be joined by a long enough line. That's why it's a good analogy for code.

...but if you, eg. a system for this; Use straight lines only and space the lines equidistant from other lines.

I mean, it's a game. Literally play the game a few times (grab a friend and do it together) and you'll very quickly figure out things that do work (leaving space) and dont work (draw crazy squiggly lines and lines that are too close together).

This is just a contrived example; if you want to make it more realistic allow 'you can erase a line and redraw it as long as the requirement is maintained', and then you can structure lines into groups, etc.


Ah, so you are pushing back on the requirements. "I'm not going to implement the requirement (two random dots added) as it would break my requirement to only have straight lines in my implementation."


There's no part of anything I posted that required straight lines.

Whether you use structured code (straight lines and spacing) or squiggles (spaghetti code) is up to you as the developer implementing the requirement.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: