|
Indeed, modern C++ ist an elegant language. It has one huge flaw though: It's legacy. I, for example, can write elegant code in modern C++, but several of my coworkers can't. Some even brush me off with "I've learned it like that in the 60s and I won't learn anything new". Some even treat the C++-compiler as a C-compiler and write plain C, bluntly ignoring all the wonders of std::string or array<t>. This makes me think that C++ still isn't ready for prime-time. The standard needs to deprecate all this legacy stuff and throw warnings all over the place if someone refuses to dig into the last 50 years of CS progression. If C++ starts doing that, I'll take it seriously. Until then, I'll stick to C# (unless I'm on a ressource-contrained embedded target).
|
|
|
|
|
This sounds like me. I was once quite proficient in C++ but then I got into C# and simply haven't updated my C++ at all.
Last time I used it was in 2003 I think. The latest versions look so different and have so many new features that I would really have to study hard to catch up.
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Welcome back to the codeface!
C++ 14 is amazing, and a very different language from the one I had to use until a few years ago. We had the pleasure of meeting Bjarne at the ACCU Conference a few years back when C++ 11 first landed, and his enthusiasm for the future of the language was infectious.
I'm a big fan of std::shared_ptr, auto, range based loops and std::thread. All have (and still are) simplifying our code significantly. Then of course there are move semantics and rvalue references, which can dramatically improve performance.
But more is coming - C++ 17[^] is nearly done (though sadly without the modules proposal[^], despite it already being implemented in Clang) and C++ 20 is being planned.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
It's a vastly different language to the one I knew. As I have the advantage of writing from scratch, I have the advantage of not having to deal with legacy and cruft. It's a liberating experience.
This space for rent
|
|
|
|
|
It certainly is.
Thought of coming along to the ACCU Conference? There's a strong C++ track (and sometimes even a C++ Pub Quiz with free beer...) there.
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
It depends how serious I get with this drone software. The more I'm playing around with this, the more I love working with drones and I can see me going further with it.
This space for rent
|
|
|
|
|
Sounds cool. Have fun!
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
I'll be writing this up and posting video footage so you will be able to take a look at least at some of the code. It's really cool stuff.
This space for rent
|
|
|
|
|
Look forward to it
Anna ( @annajayne)
Tech Blog | Visual Lint
"Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
|
|
|
|
|
All of the input and output operators in old, old C++ offered fluent interfaces.
cin >> x >> y;
cout << setw(10) << x << setw(12) << y << endl;
Ignoring references, you can always just
return this;
at the end of a function which requires code like:
variable->f1(args1)->f2(args2)->f3(args3);
|
|
|
|
|
I'm happy enough with what I've got now.
This space for rent
|
|
|
|
|
C++ and MFC; I did everything I could to avoid that sack of shite:
Basic
Assembler
PC COBOL
Pascal
C
Access
dBase
Paradox
VB
Clipper
FoxPro
Visual FoxPro
Delphi
C#
Windows Forms
WPF
...
|
|
|
|
|
I spent a lot of time in MFC. Then I discovered ATL and wasee hooked until I moved to .NET.
This space for rent
|
|
|
|
|
You seem to be retaining the C# coding style, single-file and all
|
|
|
|
|
I'm really not. It was just easier to post a sample like that. My real code is spread out.
This space for rent
|
|
|
|
|
Just tried to run Jenkins locally.
So I start it up, go to localhost:8080 and I'm prompted with a username/password.
Next I spent about an hour looking for the default username/password or at least how I can change it.
Nothing seemed to work.
Turned out Oracle was already running at 8080 (so I needed the Oracle username/password) and Jenkins did not start at all...
Some days are better spend in bed far away from computers
|
|
|
|
|
Sander Rossel wrote: Some days are better spend in bed far away from computers Yes. Yesterday I may have offended someone by writing my own serial I/O routines for an old computer instead of using his.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Sander Rossel wrote: ome days are better spend in bed far away from computers
IoT coming to a bed near you real soon...
Sin tack ear lol
Pressing the "Any" key may be continuate
|
|
|
|
|
SmartPillows
fitBlankets
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
How about wearable smart pillows?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
That's the airplane model. It detects baby cries and automatically processes and generates a counter-frequency.
...that's actually a really good idea....
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
But don't forget to take it off when you get up. Something similar happened to me last time I finished work in a clean room.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Connected eiderdown!
... such stuff as dreams are made on
|
|
|
|
|
Those who work in a clean room every day get cool White Ninja outfits.[^]
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
A bed that tracks your sleeping habits, how often you bring girls/guys home and how happy your marriage is
|
|
|
|