Public channel ID 76294247818529

Программисты РФ

Всё о мире разработки: IT-новости, инструменты, технологии, обновления фреймворков, сервисы и полезные фичи для программистов

Реклама:
Tg - https://t.me/HEPREDEL

Купить рекламу: https://telega.in/m/techdevrf

Channels in category
1 757
This channel's rank
№ 4
Open category →
Open in MAX

Posts for the period

By reactions

Search and the whole feed — after free registration. Custom dates — with a subscription; the channel owner sees them for free. Sorting by reactions — with a subscription. Sign up

Loading…

В исходниках DOOM нашёлся идеальный комментарий о языках программирования.

В файле doomdef.h прямо перед определением ширины экрана:

// Defines suck.
// C sucks.
// C++ might suck for OOP, but it sure is a better C.
// So there.
define SCREENWIDTH 320

В переводе:

> Дефайны — отстой.
> C — отстой.
> C++ для ООП, возможно, тоже отстой, но как улучшенный C он точно лучше.
> Вот так.

И сразу после жалобы на дефайны — новый `define`.

Когда дедлайн сильнее архитектурных убеждений.

https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.10/doomdef.h
Views: 1 791
Go to post Open in MAX Report an inaccuracy
VKontakte Telegram Odnoklassniki
Favorites at datool.ru

Follow the channel in your account

Sign up at datool.ru to add the channel “Программисты РФ” to favorites and track its metrics.

Sign up
For channel owners

Verify your channel

Sign in or sign up at datool.ru, then add our bot to the channel following the instructions in your account. Once ownership is verified, the lock disappears and channel management becomes available.

Sign in or sign up

Report an inaccuracy

Describe what needs fixing. If you have a source, add a link.

You are leaving datool.ru

The link leads to an external website. datool.ru is not responsible for its content — check the address before entering passwords or payment details.

Redirecting in 10 s

Go