Why Pex is not massive [closed] - pex

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Hi there: I was looking at a few videos, etc and I just cant help but wonder why Pex usage seems to be so low?
Are there any problems that are not obvious, or is it just a licence issue?

It's a very new tool and to work really well you need to use Code Contracts as well. It also catches a lot of issues like possible integer overflows that a lot of developers think they can just ignore. Pex is amazing and will take off eventually but it has a learning curve so it's going to take some time to percolate through the .Net ecosystem.
I've used it on a few new development projects and it has saved me two major bugs (not caught by normal unit tests) that would have taken at least a week to track down and fix normally plus a few smaller issues so I'm a big proponent of Pex. That said it takes a lot of work to get it producing good results on an existing code base of any size so how cost effective it is will need to be determined on a project by project basis.

Related

logistics of large conference scheduling [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have to schedule a conference, there is 6 class everyday and more than 10 lecturer,for 14days. some lecturer are available some days, some are not, some prefer some specific day or classess and some days they are off
i googled it so much but couldn't find good material to learn about it.
i want to learn it ground up, it means if i need to learn constrain programming it's okey for me, because i don't have any background about it.
i'm looking for learning material, book and any suggestion about this. someplace in stackoverflow i read genetic algorithm it's good for it but no one was sure about it.
because it's one of the most easy topic that i have to face, and i will face more hard solution in future, i have to learn from basic, new task from my manager and i have to face it.
i appreciate if you suggest any book, site, paper and sources to learn or share with me
OptaPlanner (open source, Java) is used for conference and course scheduling. The download contains the code of a complete course scheduling example called "curriculum course", which is also documented in the reference manual.
As for other sites, you might find the ITC2007 timetabling competition interesting.

Program overloading? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have this project that has functions to load different chapters of a book. (Ex. loadChapter1)
My thinking was that I will call the functions to load up every chapter when the app launches. But by the time I am done with the program, there would be a huge amount of chapters. It's only loading up lots of NSStrings.
Would that make the program slow to initialize or even crash the program?
My functions are declared in AppDelegate.h using ( -(void)loadChapter1 ). The way I call it in AppDelegate.m is using [self loadChapter1].
If this is not a good way, this there any other way to do this?
You're better off trying something, seeing if it works well, then making changes (and possibly asking questions here) if it doesn't rather than asking a question like this at the outset. For performance questions in particular, the accepted wisdom is that you shouldn't worry too much about performance (memory and CPU usage) while initially writing a program, but rather should do performance optimizations as needed after you've got the program working.
That said, my first approach to this would be to load each chapter as it's requested. So, don't load all the chapters in the book every time the app launches. Rather, load a chapter when the user turns the page to that chapter or selects it in the table of contents (or whatever applies to your app). That way, you don't waste time and memory loading chapters that before they're actually going to be used.

Postgresql and OSX [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a project that's in the design phase and looking at my options have decided on using Postgresql for the application backend because of licensing and features. I have searched around but I am unable to find any solid information on using Postgresql in Xcode or even with OSX applications. Could someone point me in the right direction any help would be greatly appreciated.
You have not given quite a lot of context.
On the application side there are quite a few pieces of software running under OS X that interface with PostgreSQL, for example the standard GUI pgAdmin.
But I believe you're more concerned about the developers perspective. Probably the most common way is to use the libpq library that comes with PostgreSQL. It is well documented and rather stable. Integration into your software project should be straightforward.
If you are looking for an Objective-C framework, you could try out BaseTen. Never used that one, though.
If you want more specific help, you have to ask more specific questions.

Why should the principles of object oriented programming in developing application? To be answered from user's perspective [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I recently was asked this question in an interview and would like to hear the answer from you people.
I discussed about code resuability and security that can be achieved by encapsulation and inheritance but the interviewer did not seem satisfied.
He insisted on how exactly an application user is benefited by using applications developed on the principles of oop.
Depends. Purists (and morons) will apply abstraction to every possible bit of code they generate or come across. This is completely unnecessary in something as simple as a direct, simple MySQL call from within a tiny bit of PHP, to log site accesses, for instance.
However, generally OOP can save you plenty of cycles if applied systematically to big data involving lots of information shuffling, like sorting hundreds of rows of data on every page access. It's a matter of when to use OOP and when to just write procedural code. OOP takes time and effort and is maintainable by experienced programmers, but you need to ask yourself if it is worth all that extra hassle on a tiny snippet of code that does one thing internally.
There are plenty of good articles out there (http://berryllium.nl/2011/02/getters-and-setters-evil-or-necessary-evil/) that help you to understand WHY OOP is sometimes unnecessary and in fact harmful.

Difference Between Data Driven and Keyword Driven Testing? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I searched already to see differences between data and keyword driven testing on Google but I did not find an enough answer for me.
Keywords and data are tools used in automated test scripts. You use a keyword to represent an action. A sequence of keywords drive a script. So you can use the same set of keywords to build a variety of test scripts. You use data as inputs to your script actions. Each data set you have in the script, provides a test case. So the more data sets, the more test cases. The idea is that these tools help to quickly define numerous test cases and test scripts so that your test coverage is larger.
I wouldn't get too caught up in trying to learn meaning of buzz words. Just use tools that help you test more and better.
In 8 days, i got something that want to write here:
First thing, kdt is so expensive (for time and people). because of this, almost all automated testing tools uses a hibrit (ddt and kdt) approach. And like Dabowhekk said before, kdt also include test scenarios, actions&events.