Based on your location (Turkey) this is what I would do if I were in your shoes:
Rather than decide on yes or no based simply on the terms (which might appear ridiculous to those in US), I would check the track record/references of the company.
Do they use these terms to drive the programmers as slaves? or is it simply a defensive strategy (in response to local job market/legal environment) meant to ensure employee productivity and stability in the company?
Obviously its a no-no, if it is the former and an ok-yes if it is the latter.
-----------------------------
Why I say this: (the long of it for those interested)
(All these refer to developing companies with high growth rates, high inflation, high competition and low number of truly qualified professionals - this is the reality of their job market/legal/economic environment)
Such contracts are often common in developing countries, where the turnover rates are ridiculously high. ( how about employees jumping every 6 - 12 months as sort of a norm among the non-mncs? - for a different reality)
Often, some employees join a company, complete training for a few months and then jump to another company showcasing that training. And latter companies often don't hold it against the employees for jumping so soon, because they dont' have to spend time and money on getting that employee trained - this is the nature of competition in those countries.
It is also a sort of protection for the company so that employees come in, get to know their good ideas (if they are worth) then just jump to other companies with those ideas or start their own companies based on them - the legal protection against this is ridiculously low or non-existent in almost all countries (even the democratic ones) except for those in NA/EU and Japan.
There is also this problem of prospective employees putting up fake certifications and experience, and claiming higher salaries in many developing countries. Systems to verify educational and occupational records of prospective employees are almost non existent, if at all.
Fyi,I am not pointing fingers at the employees, they are also under tremendous pressures to maintain a decent standard of living in environments subject to very high inflation ( against the typical 1-2% in the US, how about around 10%? and those are the 'official' rates which are often watered down for the international press). So they have to keep getting higher and higher salaries to maintain the same standard of living. Often that job hopping is the best way to ensure that increasing salary.
Either way, good luck.