|
Article methinks - I think you should write a book - Random thoughts of a clever mad Witch
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
You don't simply collect Garbage in Mordor!
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Garbage shall not pass.
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger
|
|
|
|
|
I reserve that one for some unit test. "YOU ! Shall! Not! Pass!"
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Sure, C++ is love, but at what price does this "love" cost? your soul, I am sure. We are talking about C++ here.
|
|
|
|
|
My soul? Oh that old thing? I think I traded it for some concert tickets back in the day.
Real programmers use butterflies
|
|
|
|
|
|
magic!
Real programmers use butterflies
|
|
|
|
|
Also confusing language and libraries. e.g. C++ managed and unmanaged.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Some of us find the light again. Some of us never lose it.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
When I saw your post, I wondered how badly you were going to get flamed, given the popularity of C# on this site. I never thought this thread would stay so civilized, let alone be fairly positive.
|
|
|
|
|
I share your surprise.
Real programmers use butterflies
|
|
|
|
|
The day is not over yet.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I don't hate C++, but I don't share your sentiments. This is almost certainly my own failing, though—it's not a problem with the language so much (which is alright, I guess), I just always end up fighting with the compiler/linker. I've never worked with C++ enough to become much more than minimally competent with it.
|
|
|
|
|
There's a certain point - and it can take awhile with C++ - where you reach a level that it is no longer intimidating or as frustrating.
True, I did recently spend all morning and ask a stackoverflow question because I missed a "=0" at the end of one of my functions and was responded to with "missing vtable for class" or some such, but that's life, you know?
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: The only downside with it is it hides nothing
Actually, it does. Time to move to Assembly.
|
|
|
|
|
Okay that's fair, except I can't think of much I can't get to in C++ with the right massaging of the compiler. I can manually build vtbls, i can make call stack frames myself, typically, I can even drop to inline assembly if I really want.
So I see it more as giving you more tools than ASM. I don't think it takes anything away.
Real programmers use butterflies
|
|
|
|
|
Make your own vtbls and call stack frames? Do tell. When do you find this useful?
My naughtiest code changed an object's class at runtime by changing its vptr. The two classes in question had a common base class and owned other objects, so this avoided a messy deep copy and fixing pointers to the morphed object. I wonder how many OO languages could do that.
|
|
|
|
|
The call stack frames can be useful for doing things like method logging frameworks
The vtbl manipulation is useful if your making a library to do hardcore COM interop
Real programmers use butterflies
|
|
|
|
|
John Lennon said, "All you need is love."
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
And look what happened to him
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I stumbled upon this company while reading an author's bio on dev.to.
The author works for: https://www.gatsbyjs.com/[^]
Have you ever heard of it?
I haven't.
Have you ever used it?
It's a library that helps you build React interfaces.
I'm wondering how do these companies make enough $$$ to stay in business?
I just don't know who is using this stuff?? I don't understand it.
If someone could explain it, then I would write my JS library and live off the royalties too.
|
|
|
|
|
raddevus wrote: I would write my JS library and live off the royalties
Obligatory Commit Strip[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Obligatory Commit Strip[^]
Yep, that's the reality!!
|
|
|
|
|
raddevus wrote: I'm wondering how do these companies make enough $$$ to stay in business?
You borrow 50M in funding from venture capitol groups[^]. You promise them X in return if you are successful. You have Y years to make a return on the investment.
Looks like they are in the third round of funding[^].
Most startups fail. Some of my friends did the same thing, after 3 years they ran out of money and were hired at F---Book as developers. About 22% of startups fail in the first year, 30% in the second year, and about 50% around the fifth year.
Best Wishes,
-David Delaune
|
|
|
|