News for hackers. Stuff that matters.
Re:Tips for beginning systems and software engineers by jsymolon on Thursday May 19, 2016 @07:37AM (#11729406)
> But if you just started a new project and you are still in a constant state of change ...

I don't understand what the rush is all the time. Sit down with a pad/pen or whiteboard and think about the design. the last mobile project i started, I sat down and wireframed on paper. Tests came naturally and didn't fight the design.

Re:Tips for beginning systems and software engineers by yoodenvranx on Thursday May 19, 2016 @08:33AM (#11729612)
I think it depends on what type of software you are doing. If it is "just" a mobile project then you can pre-plan most of it. But I come from a more scientific background and most of the stuff I did back at university was pretty much impossible to plan because you did not actually know how you would solve your current problem. Usually you would try several approaches until you find the one that works. In such a situation tests are hard to use because they reduce your flexibility.
Re:Tips for beginning systems and software engineers by jsymolon on Thursday May 19, 2016 @12:41PM (#11731485)
> ... most of the stuff I did back at university ...

I would place that kind of programming in a different class. Small, "one-shot" problems probably don't need a lot of planning.

That's the experimental / exploratory class of problems where you're not interested in the correctness of the process but results. AKA risk reduction.

For the other classes where there is "The Process" of validation, testing and approvals, a little planning up front saves some churn on the back end.

I have the same concern about iterative development. Seems like a lot of teams jump right into a coding sprint/iteration/cycle w/o a plan.

Re:Tips for beginning systems and software engineers by blueprint on Thursday May 19, 2016 @10:21AM (#11730385)
How do you verify that the lack of understanding of the form of the solution was due to the problem domain (scientific) and not your lack of exactness of confirmation and ability to see what is in the problem due to not actually knowing?
Re:Tips for beginning systems and software engineers by mbrock on Thursday May 19, 2016 @09:14AM (#11729893)
You are completely allowed to throw out your tests if you are doing this kind of exploratory programming.

Then, tests are simply your hypotheses.

Re:Tips for beginning systems and software engineers by maxxxxx on Thursday May 19, 2016 @10:57AM (#11730706)
Yes, that's one thing people often forget. It's OK to delete tests that are obsolete.
Re:Tips for beginning systems and software engineers by maxxxxx on Thursday May 19, 2016 @10:53AM (#11730675)
I work in an enterprise environment and with all the stakeholders involved it's impossible to get a decent design upfront. But I still think you can test a lot of things even while change happens. Just avoid getting too detailed.
Re:Tips for beginning systems and software engineers by c2352466 on Thursday May 19, 2016 @08:04AM (#11729514)