DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th December 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default Test driven development

Hello
TDD is an approach to write programs. It means we should write tests and write this tests before writing code.
What's your thoughts on that approach? Does this approach is used by some base OpenBSD code?
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 7th December 2017 at 10:11 AM. Reason: Added two last sentences
Reply With Quote
  #2   (View Single Post)  
Old 22nd December 2017
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

TDD is useful, and I use it; but not always. TDD is especially useful when you're certain what you want in advance. In practice, this often isn't the case, and using TDD for these cases is more trouble than it's worth, IMHO. So like most good ideas, TDD becomes a bit silly when pushed to the extreme and applied in every case without thought.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
tdd, test driven development, test-driven development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Development of PHP 5.5 begins J65nko News 0 16th November 2012 04:03 PM
Test server barti OpenBSD General 4 2nd August 2012 08:11 AM
First steps in Web Development Daffy Programming 1 26th November 2010 04:01 PM
Driver development WeakSauceIII OpenBSD General 5 31st May 2008 07:18 AM


All times are GMT. The time now is 09:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick