Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
#include <stdio.h>
main(t,_,a)char *a;
{ return!0<t?t<3?main(-79,-13,a+main(-87,1-_,main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?main(2,_+1,"%s %d %d\n"):
...
for a in x
print a+b
for (int i=0; i<N; ++i) for (int j=0; j<N; ++j)
cout<<M(i,j);
for (int i=0; i<N; ++i) for (int j=0; j<N; ++j)
cout<<M(i,j);for (int i=0; i<N; i++)
{
for (int j=0; j<N; j++)
{
cout << M(i, j);
}
}
for (int i = 0; i < N; i++)
{
for (int j = 0; j < N; j++)
{
cout << M(i, j);
}
}
for (int i=0; i<N; i++)
for (int j=0; j<N; j++)
cout << M(i, j);for (int i=0; i<N; i++)
for (int j=0; j<N; j++)
cout << M(i, j);
for (int i=0; i<N; i++)
for (int j=0; j<N; j++)
{
cout << M(i, j);
...
M();
}
for x, y, z in product((1,2,3), (4,5,6), (7,8,9)):
print x + y * z
нет IDE, вот нет вообще
head -c127474 jquery-ui.min.js > test.js
gzip -c9 bottle.py > bottle.py.gz
bzip2 -c9 bottle.py > bottle.py.bz2
gzip -c9 test.js > test.js.gz
bzip2 -c9 test.js > test.js.bz2
int Foo(bool isBar)
{
if (isBar)
{
bar();
return 1;
}
else
{ return 0; }
}
int Foo(bool isBar) {
if (isBar) {
bar();
return 1;
} else {
return 0;
}
}
int Foo(bool isBar) {
return isBar ? (bar(),1) : 0;
}
(почему (забыли (про (лисп?))))
-- whew, fixed it!
do first thing
if condition
then foo
else bar
third thing
-- the fixed version without sugar
do { first thing
; if condition
then foo
else bar
; third thing }
fun doSome(): Int = 3fun doSome(): Int {
return 3
} if (a>b)
do_smth();
if (a>b)
do_smth();
do_smth_more();
if (a>b) {
do_smth();
do_smth_more();
}
if (a>b) {
do_smth();
}
Какой тип синтаксиса языков программирования удобнее?