|
I appreciate the newer C++ standards like C++20 even though I haven't really done more than scratch the surface of it yet.
But one thing I have mixed feelings about is promoting STL things as part of the first class language features, like (an older but good example) for(:) .
I have qualms about The STL, primarily around the way it uses memory, almost guaranteeing you need custom allocators and a custom heap for anything without gobs of RAM. Otherwise, fragmentation will nail you.
I *think* most of it works like C# where it's not explicitly tied to the library - as long as a separate library exposes the same features it will bind to it like foreach in C#. I'm good with that.
I just fear how far they are going to take it. How many features will a container eventually have to expose to take advantage of all the available language features that act on them for example?
Also, it feels like less of a mid level language now. I'm not sure how I feel about that.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I just noticed this post. IMO the objections against the coupling between language/lib are somewhat academic. They make sense from a strict purist point of view. But I would argue that the practical view wins the race by miles. I have seen no further "coupling-creep" since the C++11. Or have I?
I wanted to see how those initial discussions went during the standardisation process, and instead I stumbled into this, a novelty for me, no idea if it went into the standard: Generalizing the Range-Based For Loop[^]
[...] which requires a range’s begin and end to have the same type. This paper proposes to lift that restriction for C++17
As for C++ being a mid-level language...
with template , I never regarded it as such.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
I just look at templates as fancy text preprocessing with a bit of typing and deduction mixed in. Never really considered it to elevate the language to a high level language, but to each their own.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Learned something new today:
there’s one name that is very important to the history of the mellotron. Mike Pinder. he worked at the mellotron factory back in the day, then later went to use the instrument in a little-known band called the Moody Blues…and started a revolution in the process! The Beatles used it, King Crimson used it, Genesis used it, Yes used it, Black Sabbath used it…the list of names who used this instrument is endless! The Mellotron: A Keyboard with the Power of an Orchestra (1965)
Moody Blues: The Voice
|
|
|
|
|
Nice clip, I must say. I first heard of the Melotron [sic] in 1984, in connection with Tangerine Dream (or was it Kraftwerk?). There is also a German electro-band called Melotron, not entirely unlike Depeche Mode.
Bit odd that the trumpet continues after he releases that key, and begins just before he touches it: The Mellotron [at 1:39] - YouTube[^] Still is a nice clip though.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
That was the expensive, psychic model. So expensive that it couldn't be purchased off the shelf.
|
|
|
|
|
Although I'd seen a photo of a Mellotron in Wakeman's Six Wives of Henry VIIIth, I'd never read a description of how one actually worked, and its controls seemed strangely minimalist. So at a Yes concert in 1975, I went over to the mixing console and asked Eddie Offord, "How does a Mellotron work?"
"Not very well", he replied. I thought he was being something of a smart ass but later learned that he was speaking the truth.
|
|
|
|
|
I'm a great fan of the Moody Blues, and Mike Pinder! I think I still have most, if not all of the albums they released on vinyl.
Will Rogers never met me.
|
|
|
|
|
A Hammond B-3 weighed 425 lbs, not sure what the Leslie speaker you'd want would add to that.
A Mellotron would have been a lot lighter, but I wonder how temperature differences touring during the winter would have messed up the tapes.
I wonder if recording the signal on the edges of wheels would have worked better...
|
|
|
|
|
Wordle 532 3/6
🟨⬛⬛🟨⬛
⬛🟩⬛🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 532 4/6
⬛🟨⬛⬛⬛
🟨🟩⬛⬛⬛
⬛🟩🟩🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 532 2/6
⬜🟨🟨🟩⬜
🟩🟩🟩🟩🟩
Woo! Lucky guess!
"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: Woo! Lucky guess! Wait... theres luck involved? 
|
|
|
|
|
⬜🟨⬜⬜⬜
🟨⬜⬜⬜⬜
⬜⬜🟩🟨⬜
🟨🟩🟩⬜⬜
⬜🟩🟩🟩🟨
🟩🟩🟩🟩🟩
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 532 5/6
⬜⬜⬜⬜⬜
⬜🟩🟩🟨⬜
⬜🟩🟩⬜🟩
⬜🟩🟩⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 532 5/6
🟨⬜⬜⬜🟨
⬜🟨⬜⬜⬜
🟨🟨🟨🟨⬜
⬜🟨🟨🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 532 5/6
⬛⬛⬛🟨⬛
🟩🟨⬛⬛⬛
🟩⬛🟨⬛⬛
🟩🟩🟩⬛🟨
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Wordle 532 3/6
⬜🟩⬜🟩⬜
🟨🟩⬜🟩🟨
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #315 4/6 (100%)
🟩🟩🟩🟩⬜⬆️
🟩🟩🟩🟩⬜↙️
🟩🟩🟩🟩🟨↖️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
circular search.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
What single structure or specific operator better defines a given language? As an example, I was thinking of:
C *
C++ - vector
C# - List
Java - arrays
Any other languages or thoughts?
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
C *
C++ *
C# .
Java a large mug and lots of sugar
Edit
BASIC LET
modified 2-Dec-22 17:13pm.
|
|
|
|
|
Python: a tab and three spaces just to annoy people.
"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!
|
|
|
|
|
How big is the tab? Like a bar tab?
|
|
|
|
|
Python 3 doesn't allow mixing tabs and spaces though
But I really wish they had gone with tabs as the preferred option rather than spaces
Cheers,
Vikram.
|
|
|
|
|
Maybe there should be an option, perhaps something like strict .
|
|
|
|