spobo
Joined 15 years ago
Joined 15 years ago
In a perfect world Apple would allow a trial mode for apps which would enable all features for X hours or X uses. But that's just Apple. It'll never happen. I heard though that MS does something like this for its apps? Or is it only for games?
Every programming language sort of recreates the basics. They are the basics after all. The neat programming languages/frameworks are the ones that 'reinvent' something. Do something in a completely new way. On a programminglanguage-level it's difficult. A lot of the practices were already invented in early languages like lisp, eifel & smalltalk.
I like Ruby because it's not ashamed of taking the great parts from other programming languages and putting it together in an easily understandable language.
He basically says it's dirt cheap to host and operate and that it's one of the best things about it.
At the time of the video their bandwidth costs per month was just 5000$ and one paid programmer.
Aka you don't need millions to run it. So I was a little baffled when I saw his first big campaign to raise money.
Ads should be quality checked by the site's owners. A crappy ad can turn away a visitor. At least I don't run the risk of that.
The app ecosystem provides the innovation and that's the only reason why I'm still considering an iPhone for my next purchase.
Have't tested it yet but it makes a lot of sense.
Redefining a class isn't dependency injection it's a hack to get the compiler to stop complaining. It works but it's very unclear to the person reading the program that a class your code depends on was actually redefined somewhere else.
For testing purposes placing this mock class somewhere at the start of your code is clear but only ever practical in that scenario.
I can also imagine that some programmers might not even think of the possibility that some code they depend on was overridden somewhere else.
In real maintainable code where you want to swap out behaviours it's nice if there was a special way of defining your dependencies. This is the same for all languages.
Deject offers a way so you don't have to fiddle with constructors but instead you have handles in your classes that you can override with different behavior if needed.
TL;DR: Yes, Ruby is powerful and you technically don't need IoC containers. But to make it maintainable for everyone it's a good idea to do so anyway.
Just buy a decent laptop with great battery life & mobility properties and a PS3/4 or a cheap gaming PC for gaming.