9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
http://blog.krzyzanowskim.com/2015/03/01/swift_madness_of_ge...
I guess everyone's mileage varies, but I find it a bit strange.
comment 10y ago · link · parent
glBindBuffer(GLenum(GL_ARRAY_BUFFER), bufferIds[1])
glBufferData(GLenum(GL_ARRAY_BUFFER), sizeof(Float) * tcSize, tc, GLenum(GL_STATIC_DRAW))
That just looks silly to me.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
2920.
Swift is not functional(robnapier.net ↗)
4 points · by hellofunk · 10y ago · discuss
comment 10y ago · link · parent
If that's true, those sources reporting that are wrong. Apple itself refers to it instead as a "protocol-oriented language" when it's not just saying "object-oriented".
Swift is definitely not a functional language in the way that it usually means, and Apple knows this, and any legit survey of languages wouldn't clump it together with much more functional languages. For example, this guy[0] knows what he is talking about.
> Where Swift shines it is in the integratiion with the underlying Objective C frameworks on the Mac.
>Swift is a good replacement for contexts in which Objective-C would be used.
Except when you try to do anything with OpenGL or a C-based API, like Core Audio. Swift is really lagging for "power programming" with these low-level APIs. It's great for beginners who use all the high-level frameworks (though "great" is a subjective term I don't really agree with for Swift), but a lot of people who really need to get stuff done on Apple's platform are not going whole-hog Swift.
>If you’re coming form Erlang/Haskell world you’ll think Swift is verbose and a bit of a mess but if you’re coming from Objective-C you’ll think “Swift is concise and elegant”
I got to be honest, I still find I prefer Objective-C, because, it's essentially C. I can use my C structs and interfaces with zero problem. But in Swift, all C primitives are translated into Swift-only stuff, even integers!
And don't get me started with trying to use a C++ library with Swift, something that's smooth with Objective-C. Which is ironic since Swift itself is written in C++.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Instagram itself is not the problem. How teenagers are using social media is a behavior or perspective issue in my opinion, not a problem with an actual product that just offers a nice tool. Growing up before the internet, these attitudes were in effect, just exposed differently. Honestly I think it is a cultural problem, because there are other places in the world where this obsession with acceptance does not exist, and where everything is not driven by ego or lack thereof.
comment 10y ago · link · parent
comment 10y ago · link · parent
But also, there are some really great C++ libraries in the areas of physics and graphics, and there is no equivalent of the in Java I could use.
comment 10y ago · link · parent
comment 10y ago · link · parent
However, it was also the year I learned that, while Clojure, as a dynamic typed language running on a VM, is the best of that class of languages, static system languages are still irreplaceable for so many other things. This was the year I realized that one language does not fit all, and that it is okay to have more than one favorite language. (And in my case, it is Clojure and C++ that I am now using equally, and with equal enjoyment, and for entirely different reasons).
2936.
47 Filipino teens invade island China claims as its own(edition.cnn.com ↗)
4 points · by hellofunk · 10y ago · discuss
comment 10y ago · link · parent