Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
yeah, but 1337 code is cool too; Maybe who ever wrote this has a readable version of it somewhere.i stick to my readability = maintainability statement
Couldn't agree more. As a programmer, I find a lot of code gets obfuscated by accident or neglect. Big part of the job is being clear.nietzsche said:Decoding obfuscated code is a nice pastime for hobby cryptologists. Pulling something like that off in production code is a crime against humanity, though. Imagine working on a project consisting of a codebase (even of moderate size) that is similarly obfuscated. :seizure:
I tend to agree to that though should I stumble upon eg. a function where I cankurly said:Big part of the job is being clear.
Exactly. a lot of good speed-code techniques are wasted on rarely called or singly called routines. They make no perceptible difference.Ansur said:Ofcourse, the decision would also depend on what you're making I guess.
[color=#3333FF]class[/color] FaceApp[b][color=#663300] :[/color][/b][color=#3333FF]public[/color] CWinApp[b][color=#663300]
{[/color][/b][color=#3333FF]
private[/color][b][color=#663300]:[/color][/b]
MFCApplicationWindow[b][color=#663300] *[/color][/b]wnd[b][color=#663300];[/color][/b]
HBITMAP bmpOriginalImage[b][color=#663300];[/color][/b]
clsProgCtrl[b][color=#663300] *[/color][/b]ProgramControl[b][color=#663300];[/color][/b][color=#3333FF]
public[/color][b][color=#663300]:[/color][/b]
BOOL InitInstance[b][color=#663300]()
{[/color][/b]
wnd[b][color=#663300] =[/color][/b][color=#3333FF] new[/color] MFCApplicationWindow[b][color=#663300]();[/color][/b]
m_pMainWnd[b][color=#663300] =[/color][/b] wnd[b][color=#663300];[/color][/b]
wnd[b][color=#663300]->[/color][/b]ProgCtrl[b][color=#663300] =[/color][/b] ProgramControl[b][color=#663300] =[/color][/b][color=#3333FF] new[/color] clsProgCtrl[b][color=#663300]();[/color][/b]
ProgramControl[b][color=#663300]->[/color][/b]CreateGUI[b][color=#663300]([/color][/b]wnd[b][color=#663300]);[/color][/b]
ProgramControl[b][color=#663300]->[/color][/b]LoadInputImage[b][color=#663300]();[/color][/b]
m_pMainWnd[b][color=#663300]->[/color][/b]ShowWindow[b][color=#663300]([/color][/b][b][color=#000000]true[/color][/b][b][color=#663300]);[/color][/b][color=#3333FF]
return[/color][b][color=#000000] true[/color][/b][b][color=#663300];
}[/color][/b][color=#FF6633]
int[/color] ExitInstance[b][color=#663300]()
{[/color][/b][color=#3333FF]
delete[/color] ProgramControl[b][color=#663300];[/color][/b][color=#3333FF]
return[/color] CWinApp[b][color=#663300]::[/color][/b]ExitInstance[b][color=#663300]();
}
};[/color][/b]
Chrysalid said:Just popped in my mind, speaking of obfusecated code, there's a contest of creating the most inreadable c programs:
http://www.de.ioccc.org/years.html