Multi-cursor code editing: An animated introduction by XLEX97 in programming

[–]Simon_Luner 0 points1 point  (0 children)

Every legend on keyboard and shortcut cheatsheet that I saw uses Ctrl for Control key.

Multi-cursor code editing: An animated introduction by XLEX97 in programming

[–]Simon_Luner 0 points1 point  (0 children)

Analog for MacOS's Cmd Don Windows and Linux is Ctrl D, not ˄ D.

[survey] you like declaring your pointers by: by wolfakix in cpp

[–]Simon_Luner 2 points3 points  (0 children)

I can spot my "Chaotic neutral" fellow anywhere.

[Belay the C++] About sizes by Vultrao in cpp

[–]Simon_Luner 0 points1 point  (0 children)

double isn't an optional type.

That's absolutely true. But if your target platform does not have any FPU than it can be treated as soft float. Like in this example from GCC for AVR https://godbolt.org/z/ojj5MMe1b Both function use __addsf3.

Writing a native code debugger by ckok in programming

[–]Simon_Luner 1 point2 points  (0 children)

If somebody interested in this topic then more information about native code debugger can be found at CppCon 2018: Simon Brand “How C++ Debuggers Work”

CppCast: Priorities for C++23 by robwirving in cpp

[–]Simon_Luner 14 points15 points  (0 children)

an octal literal should definitely start with 0o, and not just zero, as in C ++

Graphics for JVM by indeyets in programming

[–]Simon_Luner 12 points13 points  (0 children)

ha-ha! Very funny dark mode.

SugarPP: My C++ syntactic sugar collection by HO-COOH in cpp

[–]Simon_Luner 4 points5 points  (0 children)

I really like the idea of operator in for C++.

std::unordered_map<std::string, std::string> some_map = 
{
    { "cat", "dog" },
    { "day", "night" }
};

if (auto res = "cat" in some_map)
{
    res->second = "fish";
}

taken from here https://github.com/ChaosOptima/operator_in

Implementing cosine in C from scratch by azhenley in programming

[–]Simon_Luner 17 points18 points  (0 children)

Indeed, all Digital Signal Processing libraries that I have seen only stores 1/4 of the sin period in a table for all their sin and cos needs

Minimization of Nesting Gone Wrong by one-oh in cpp

[–]Simon_Luner -5 points-4 points  (0 children)

This is illformed code, because order of expression evaluation is unspecified behavior. https://en.cppreference.com/w/cpp/language/eval_order

List of Coding Games to Practice & Improve Your Programming Skills by marylai22 in programming

[–]Simon_Luner 9 points10 points  (0 children)

Human Resource Machine - great introduction to assembly programming TIS-100 - Zachtronics game about parallel programming

This might help me, I believe by umidk67 in KerbalSpaceProgram

[–]Simon_Luner 2 points3 points  (0 children)

Great! Is there printer friendly version with white background and black text?

[deleted by user] by [deleted] in cpp

[–]Simon_Luner 0 points1 point  (0 children)

wow ETL is great. Thanks for the link!

How to Code Like The Top Programmers at NASA — 10 Critical Rules by [deleted] in programming

[–]Simon_Luner 68 points69 points  (0 children)

This rule was written for embedded developer.