troye888

joined 2 years ago
[–] troye888@lemmy.one 5 points 2 years 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 39 points 2 years ago (2 children)

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 2 years 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 4 points 2 years ago (1 children)

(What do (you) mean? ( Lisp certainly has its (downsides) and (upsides)))

[–] troye888@lemmy.one 6 points 2 years ago

Thanks for the insight send_me_nude_girls.

[–] troye888@lemmy.one 3 points 2 years ago

This seems more focused on commercial license holders. here paying for your ide is not that uncommon, and also the amount of revenue to be gained is a lot higher. That being said I always found it a bit weird that jetbrains didnt make clion free for non commercial use as they did with pycharm/intelij.

[–] troye888@lemmy.one 2 points 2 years ago (1 children)

That is quite an achievement too be honest, havent had a charging port fail on me since phones switched to usb c.

[–] troye888@lemmy.one 3 points 2 years ago

I am not planning on saving any nuclear launch code on my phone any time soon, so I'll use it untill it lasts. The end of life is more of a "dont fix the phone if it breaks from now on" date for me.

[–] troye888@lemmy.one 5 points 2 years ago

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

[–] troye888@lemmy.one 6 points 2 years ago (1 children)

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

[–] troye888@lemmy.one 2 points 2 years ago

I have found it nice to use for large types (nested containers, lambdas) which are only used once, and I would not necessarily want a typedef. However I also dont like using it too much its basically trading up coding speed for reading speed. And tile and time again it has been found that the latter one is done a lot more.

 

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 10 points 2 years ago

I for one support becoming a walking skeleton

view more: next ›