[-] troye888@lemmy.one 5 points 11 months ago

I still am not sure what to think of this entire thing. It feels that at a certain point someone started playing some circus music, and they forgot to turn it off.

[-] troye888@lemmy.one 41 points 1 year ago

He is a pretty respected and known (former)reviewer in the tech industry. Used to be a writer for anandtech for many years, and now does some kine of consulting for tech companies. But most importantly, he personally knows, and as far as i know is respected, by both ltt and gamersnexus.

[-] troye888@lemmy.one 17 points 1 year ago

I might be open to the idea, but it would need to be a trustworthy company that doesn't cancel stuff left and right. An ide would be too annoying to switch constantly to take this risk.

[-] troye888@lemmy.one 6 points 1 year ago

Thanks for the insight send_me_nude_girls.

[-] troye888@lemmy.one 4 points 1 year ago

Started only 2 years ago, so have some ways to go.

[-] troye888@lemmy.one 6 points 1 year ago

Well it only has 1 user according to the Mozilla store, so no surprise that no one had heard of it.

[-] troye888@lemmy.one 5 points 1 year ago

I honestly have no clue. I mean I know we eat rice, but wouldn't say we eat a lot of it. And while we do have a large immigrant percentage, not a significant amount of those are from regions where eating rice is popular.

11
submitted 1 year ago by troye888@lemmy.one to c/cpp@programming.dev

Since c++11 it has been possible that instead of declaring your function as "int name(arguments);" you can now do "auto name(arguments) -> int;". The place I work at has it as style rule that all functions need to be declared that way. Now obviously this is not that large of a thing, and a consistent style is more important than my opinion here. But this has always felt like a weird thing, adding extra bloat to reading code. Anyways looking around I saw some positives to this construction, generally with the use of long return types, that are paramount when using templates. Here the benefit is that the function name is not hidden behind multiple template declarations, which does seem like a good argument. Also lamndbas generally use this. However I personally see some negatives here with using this foe every function, namely:

  • extra bloat when typing/reading the code. This however could be automated to switch between the needed representations. It currently isent so I personally have ti type the auto and trailing return type manually, its not a lot, but still. Also reading code has become a bit more annoying if you have a lot of function overrides as you now have to first look which block of declarations have the smae function name and then parse which one has the correct return type.
  • inconsistency with other typed programming languages: This one is probably why it irks me, but (and correct me on this) I dont know of a c style typed programming language that supports this type of syntax. Python has typehints(which you should use, please), which are declared after the function, and I remember Haskell also has their return type after the function name. But both of thede languages serve a different function than c++. More similar languages like c# and java dont support trailing return types.

Anyway enough of me ranting, I would like to know wath the other opinions here are. And whether this rant is missing se important arguments?

[-] troye888@lemmy.one 9 points 1 year ago

I for one support becoming a walking skeleton

[-] troye888@lemmy.one 7 points 1 year ago

Considering you have a low end pc i'd recommend trying godot. As someone who has been in the gamejam scenes for few years now I have seen it be used more and more. It is not the most powerful engine, especially compared to unity and unreal. It however is by far the easiest both on user experience and on computer resources. As a bonus it is fully free and open source, which is always nice. For the learning part I'd recommend just starting, being bad at something is the first step in being kinda good at something (this is a quote from somewhere, and i dont remember from where). Good luck!

[-] troye888@lemmy.one 13 points 1 year ago

Yes yes we are working on mod tools they will be there "soon" - reddit for the last 8 years.

[-] troye888@lemmy.one 7 points 1 year ago

In the goodbye post of apollo they were talking about their previous talk with reddit a few months ago. It was the reddit engineers and apollo devs finding a bug together, it genuinely looked like the 2 parties respected each other highly. It's crazy how fast things went south.

[-] troye888@lemmy.one 4 points 1 year ago

I wonder if we will soon be able to apply these techniques to general compiler optimizations, would love to see which crazy optimizations we are leaving on the table there.

view more: next ›

troye888

joined 1 year ago