I think that Netflix (as an example, but also most streaming services -- even HBO max at this point) are aggregators though. Disney can afford to charge this premium because their content is so differentiated. For aggregators with commoditized content, it will always be a race to the bottom for pricing to reach maximum users and spread the high fixed cost of content across them.
I would look to other content providers rather than other streaming services to anticipate who might follow Disney's pricing model. And even though this was probably just a strategy they took to deal with the circumstances created by COVID, if it works, they may stick with it. I could see theater and early access on Disney+ being released at the same time, and you can choose to go spend $30 at the movie theater or $30 in the comfort of your home.
The make function takes the type, length and capacity. If you don’t supply capacity, it defaults to length. So if you want to use append, do something like:
make([]int, 0, length)
That will allocate a slice that can fit length ints but has a length of 0 (so append starts at index 0).
You can call len(slice) and cap(slice) to see the difference, but append will insert an element at index len(slice), growing the capacity if necessary
I’ve been writing Go at work for about a year now. I have built a VoIP gateway, an HTTP API, an SRGS parser, and a modified beam search algorithm for a deep learning speech to text pipeline. I would say there are a few moments along the way where it started to click how awesome Go is (the only reason I chose it in the first place is because it was the only internal SDK I had access to).
1. The first time I had to design a concurrent module. Goroutines and channels are amazing. In most cases you still need to dress them up a bit, but the first class support makes it really easy to start simple and add as needed. In fact, as I type this I feel that that is a general theme of the language. It kind of urges you to start simple and iteratively improve things.
2. Cgo. Cgo has a lot of mixed opinions, but I am on a team with very few resources, so my output in terms of volumes of code is limited. I have been very thankful that I could both link in existing C dependencies into my project, and also build my project as a C library for other existing projects. This again, allowed me to start small, and slowly rewrite the important pieces in Go when it was worth it.
3. Pprof. That tool is amazing. There’s some really good YouTube demos of it so I won’t go into detail about it, but particularly for algorithms, this tool has helped me speed up certain parts of code by a few orders of magnitude, essentially making them practical for real world use.
4. The build system is fantastic and very fast (when compared to the aforementioned C / C++ projects)
There are definitely more reasons, but I love Go primarily because it feels like one of the most pragmatically thought out language that I’ve ever used. It has lots of tooling and features that make it fast to build working, robust, and fast software. It may lack some syntactic sugar and certain language features that allow you to make clean, gorgeous abstractions, but it’s a trade off that I care less and less about every day that I use Go.
I would look to other content providers rather than other streaming services to anticipate who might follow Disney's pricing model. And even though this was probably just a strategy they took to deal with the circumstances created by COVID, if it works, they may stick with it. I could see theater and early access on Disney+ being released at the same time, and you can choose to go spend $30 at the movie theater or $30 in the comfort of your home.