Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет nancygold ([info]nancygold)
@ 2024-05-25 00:59:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Настроение: amused
Entry tags:computing

Modern C++
Reading Mojang's code:
https://github.com/skypjack/entt/blob/master/src/entt/entity/entity.hpp

It is only getting worse.
For example they now do

using u4 = uint32_t


What happened to the typedef, you may ask.... - well, the same shit that happened to printf and #define.


One probably expected them to implement a better macro processor, but instead they doubled the effort embedding a compile time esoteric language...
template<bool Dummy = true, typename = std::enable_if_t<Dummy && std::is_default_constructible_v<base_type>>


Reason? I don't know. Some processes just happen. Without any obvious reason.

So yeah, I identify as data alchemist, not a developer or a programmer.


(Добавить комментарий)


(Анонимно)
2024-05-25 03:47 (ссылка)
Templates should compile faster, give better errors, especially with concepts, are generally more readable, and less manual. But you do you, fucking luddite.

(Ответить)


(Анонимно)
2024-05-25 04:25 (ссылка)
Modern C++

https://i.redd.it/khe6m0odyg2d1.png

(Ответить) (Ветвь дискуссии)


(Анонимно)
2024-05-25 04:43 (ссылка)
You've been blocked by network security.
To continue, log in to your Reddit account or use your developer token

If you think you've been blocked by mistake, file a ticket below and we'll look into it.

(Ответить) (Уровень выше)


(Анонимно)
2024-05-25 06:02 (ссылка)
That's modern Americans, not modern C++.

(Ответить) (Уровень выше) (Ветвь дискуссии)


(Анонимно)
2024-05-25 06:37 (ссылка)
same shit

(Ответить) (Уровень выше)


[info]nancygold
2024-05-25 11:43 (ссылка)
That is multinational corporate bullshit not C++
But they do replace C++ with Rust, basically a Pascal dumbed down for niggers.

(Ответить) (Уровень выше) (Ветвь дискуссии)

butthurt arsehole left on the sidelines
(Анонимно)
2024-05-25 11:59 (ссылка)
>Pascal

The fuck? Pascal doesn't have an advanced type system, pattern matching, etc. You are delusional.

>dumbed down

It's more complex than pascal.

(Ответить) (Уровень выше) (Ветвь дискуссии)

Re: butthurt arsehole left on the sidelines
[info]nancygold
2024-05-25 12:17 (ссылка)
Queered for Palestine too this week?

(Ответить) (Уровень выше) (Ветвь дискуссии)

Re: butthurt arsehole left on the sidelines
(Анонимно)
2024-05-25 13:49 (ссылка)
Credit where credit's due. Rust for all its faults and ultra liberal hivemind among the leads still is tour de force in the area of imperative systemish programming languages. Something influential, something you've never achieved.

Abd you obviously prayed for Mother Russia this week lj.rossia.org/users/nancygold/162556.html

(Ответить) (Уровень выше)

Re: butthurt arsehole left on the sidelines
[info]nancygold
2024-05-25 12:20 (ссылка)
>It's more complex than pascal.

Even COBOL is more "complex" than Pascal:
https://linguagemcobol.wordpress.com/bnf/
https://tomcopeland.blogs.com/cobol.html

Complex != good.

(Ответить) (Уровень выше) (Ветвь дискуссии)

Re: butthurt arsehole left on the sidelines
(Анонимно)
2024-05-25 13:44 (ссылка)
>Complex != good.

Simple != good either. And you are obviously purposefully misinterpreting what I said. Rust can't be dumbed down pascal, because a) they are not related b) Rust is harder to learn.

(Ответить) (Уровень выше) (Ветвь дискуссии)

Re: butthurt arsehole left on the sidelines
(Анонимно)
2024-05-25 14:01 (ссылка)
>Rust is harder to learn.

Forgot to mention that it is conceptually harder to learn, not in terms of the number of the keywords in the grammar. The same way Haskell is harder to learn, because they introduce new concepts.

(Ответить) (Уровень выше)

Re: butthurt arsehole left on the sidelines
[info]nancygold
2024-05-25 14:29 (ссылка)
Well it does but it doesnt.

(Ответить) (Уровень выше) (Ветвь дискуссии)

Re: butthurt arsehole left on the sidelines
(Анонимно)
2024-05-25 14:46 (ссылка)
"does" in combination with "it" can't be applied to anything in the post above.

(Ответить) (Уровень выше)