• 0 Posts
  • 5 Comments
Joined 3 years ago
cake
Cake day: June 5th, 2023

help-circle
  • New feature with terrible syntax. There are features of every language I choose not to use. As a C++ developer, I would choose not to use this syntax, so that my team can write better designed code. However, I am an oddball on my team for loving trailing return types. In peer review, the schlong operator i.e. ---> would only be used where it makes sense which should be nowhere.

    Peer reviewing this seriously would require knowing more context. Instinct tells me MyClass**** is probably allocated from the heap. A possible reason for so many levels of indirection are jagged arrays. Maybe the function only gets the first element of each level of the arrays. The function name doesn’t make that clear. This is poorly designed. Please re-design/re-write. I will happily review those changes. I expect unit tests to show example use cases.

    I would suggest using a stack allocated array with sentinels for missing values to improve cache coherency. Without context, I assume looping over the jagged structure will be common. Loading more into cache should improve efficiency in loops, but benchmarks are required.

    Wait… I should join the crowd. So I say, “down with C++” and up with some safe alternative. Maybe rust: https://github.com/Speykious/cve-rs.


  • What is socialist about GPL?

    Being forced to open source seems like a pyramid scheme. Better examples of socialist and libertarian politics are licenses like MIT or BSD. They embody use without damage.

    Stallman seems to have a flawed understanding of hierarchy and power. He exhibits such in the infectious GPL and pedophillic political takes. I purposely avoid GPL or derivatives when considering libraries.



  • Becoming familiar with other ideas is beneficial. There is nothing wrong with being a Democrat, Social Democrat or Libertarian. Real people hold these political ideas. My transition over years was Democrat since I opposed hawkish Republican imperialism, but I rejected corporate power, so Social Democrat, but I rejected hierarchical power, so Anarchist. Through reading I know Pacifism meshes with any of these ideas. I have never been a Pacifist, but I applaud anyone that takes the time to explore politics even if we do not agree.

    Being able to have conversations with people around you is important. Reading theory from other politics helps. Most people around me consider themselves conservative. They say talking points like “I’m for small government”. Having read Libertarian texts like Nozick’s “Anarchy, State and Utopia”, I can discuss the minimal state as a Libertarian idea. I can then transition to “Nozick’s minimal state is not small enough”. In my area this approach opens conversation more than banging a drum about being a Democrat, Leftist, Communist or Anarchist.