📜 ⬆️ ⬇️

Boyar programming

Today, while testing the Russian version of Visual Studio 2008 (hello, gaidar !), It was discovered that VS understands not only variables in the Latin alphabet, but also in Russian. And the idea of ​​"boyar programming" came ...
"Boyars programming" from the word "boyars", and not "Boyarsky, if that ... :)


Actually, the idea is to replace the keywords in English with their counterparts in the Old Slavonic style.
Here is a set of our keywords:

#define and
#define __ and_eq
#define asm
#define auto
#define _ bitand
#define _ bitor
#define bool
#define ѣ break
#define case
#define catch
#define char
#define class
#define compl
#define const
#define __ const_cast
#define continue
#define default
#define delete
#define do
#define _ double
#define __ѣ dynamic_cast
#define ѣ else
#define ѣѣ enum
#define ѣ_ѣ explicit
#define _ѣ export
#define _ѣ extern
#define false
#define float
#define for
#define friend
#define ѣѣ goto
#define ѣѣ if
#define ѣ inline
#define ѣ int
#define long
#define __ѣ mutable
#define namespace
#define new
#define ѣ not
#define ѣ_ not_eq
#define ѣ operator
#define or
#define _ or_eq
#define private
#define __ protected
#define ѣ public
#define ѣ register
#define _ reinterpret_cast
#define ѣ return
#define short
#define signed
#define ѣ sizeof
#define ѣ static
#define __ static_cast
#define struct
#define switch
#define ѣ template
#define ѣ this
#define throw
#define true
#define ѣ try
#define typedef
#define typeid
#define _ typename
#define ѣѣ union
#define ѣ unsigned
#define using
#define virtual
#define ѣ void
#define ѣ volatile
#define _ wchar_t
#define while
#define xor
#define _ xor_eq


Threat I am not Lebedev, and I understand little pre-revolutionary spelling, so do not blame me. :)

')

Source: https://habr.com/ru/post/41303/


All Articles