- 1
if(batchControlImpl.startJobActivity(JobStatusType.STARTED));
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+75
if(batchControlImpl.startJobActivity(JobStatusType.STARTED));
К проекту подключили активированных активных индусов.http://tinyurl.com/cvwefek
+169
#define AS_STRING2(ARG) #ARG
#define AS_STRING(ARG) AS_STRING2(ARG)
#define PORT 5473
const uint16_t g_config_port=PORT;
const std::string g_config_port_string=AS_STRING(PORT);
#undef PORT
#define PORT 5474
const uint16_t g_request_port=PORT;
const std::string g_request_port_string=AS_STRING(PORT);
#undef PORT
#define PORT 5475
const uint16_t g_response_port=PORT;
const std::string g_response_port_string=AS_STRING(PORT);
#undef PORT
#undef AS_STRING
#undef AS_STRING2
Чувак нереально любит препроцессор, что говорит от том, что даже Страуструпа не читал.
+159
#ifdef Status // we seem to pick up a macro Status --> int somewhere
#undef Status
#endif
...
enum Status {
Где-то мы макрос подхватили. qsettings.h
+142
function get_row() {
return $this->row;
}
function get_seo_row() {
return $this->seo_row;
}
function get_template() {
return $this->template;
}
function get_paginator() {
return $this->paginator;
}
function get_caption() {
return $this->caption;
}
function get_caption_null() {
return $this->caption_null;
ФункциАнально
+155
$psd=str_replace(',', '.', trim($csv[5]));
$psd=str_replace('*', '', $psd);
$strs=$psd;
if($strs[(strlen($strs)-1)]==',' || $strs[(strlen($strs)-1)]=='.'){
/*
это пиздец, как я устал
+119
string str;
if (((str = path) != null) && (str != "basic"))
{
if (str == "contact")
{
BindContact();
PageTitle = "Contact info";
editform.SetActiveView(vi_contact);
return;
}
if (str == "personal")
{
PageTitle = "More about me";
BindPersonal();
editform.SetActiveView(vi_personal);
return;
}
if (str == "career")
{
PageTitle = "Work info";
BindCareer();
editform.SetActiveView(vi_career);
return;
}
if (str == "tags")
{
BindTags();
PageTitle = "Tags I Follow";
editform.SetActiveView(vi_tags);
return;
}
if (str == "biography")
{
ph_page_title.Visible = false;
bind_biography();
editform.SetActiveView(vi_biography);
return;
}
if (str == "pp")
{
ph_picpage_title.Visible = true;
ph_page_title.Visible = false;
PageTitle = "Edit profile photo";
BindProfilePhoto();
return;
}
}
PageTitle = "Basic info";
BindBasic();
editform.SetActiveView(vi_basic);
switch на диалекте хинди ;[ слава asp.net! убить Мартинса и Фаулера за чистокодную ересь!
+160
public function return_array_element($array, $element){
/*Return the value of specific array element*/
return $array[$element];
}
тотже мастер класа что и тут:
http://govnokod.ru/9765/
+105
//батон ЗАНЕСТИ
private void btnOk_Click(object sender, EventArgs e)
{
if (SaveData())
{
this.Tag = _tParams.Id;
this.DialogResult = DialogResult.OK;
this.Close();
}
}
+70
class GGPoint extends Object {
}
Вспомнилась первая работа с китайцами, где юзали их базовую часть, надстройку над gwt, так вот приходилось такое встречать. Думаю этого достаточно=)
+137
public abstract class User : SocketException { }
Welcome to hell.