Praise Apple®, the visionary and savior of personal computing!

Guess the year!

It’s 2001!

  • Apple® has kick-started and set the standard in smartphones and tablets!
  • Apple® brought us good-looking and usable user interfaces!
  • Apple® has brought us LLVM, the universal compiler platform!
  • Apple® has finally brought us a sane programming language, Swift!
  • Apple® has brought us high-dpi computer and phone displays!

Praise Apple®!

  • C/C++/Java/C#/Rust/Go: 2147483647 + 1 = -2147483648.
  • Apple® Swift™: 2147483647 + 1 = error.

I hope you see it now:

  • Apple® is innovation!
  • Apple® is sanity!
  • Apple® will revolutionize the world of computers!

While everybody else solves problems they imagined themselves, Apple® sees the real problems of the real users and provides smart, easy to use and effective solutions!

nothing worth of exceptional praise.

sane? my ass.

the functional programming community has brought us a really sane programming language, Haskell.

DeGustibus has brought us high-quality, tasty bread !

WRONG.

so just like when C is compiled with -ftrapv for 32-bit i386 platforms.

Apple is fraud.

in ur religious mind.

Apple can scrape the shit off my asstube walls !

1 Like

Except that it’s the default behavior and it’s actually encouraged. Also, you can still do unsafe operations with &+ if you need performance/wrapping behavior. A compiler flag is a binary choice.

What platform do you use?

Keep in mind that they had the Objective C historical baggage to deal with. In my opinion, they did an exceptional job making the sanest possible languages within those constraints.

Far from it. The type system is very solid, I agree, but the rest isn’t so good…

  • http://briancarper.net/blog/439/real-confusing-haskell
  • http://dafoster.net/articles/2013/11/12/impressions-of-haskell/
  • http://echo.rsmw.net/n00bfaq.html
  • Do notation looks specifically designed, on purpose, to confuse newbies because it looks like it provides a way to program in Haskell the same way you would in conventional languages, but in reality it behaves very, very differently (<- overrides a definition instead of setting a variable, return doesn’t do an early return from a function, as someone who had a prior experience with conventional languages would expect, but wraps the given value into the current monad).
  • Can’t reload +, -, *, / separately because they’re all part of the same type class Num, this leads to a slew of scarily-named operators like |+| or etc.
  • Tricky space-dependent syntax.

If Haskell actually was a sane, good language that offered real, significant, tangible benefits over other languages, a corporate interest in it would emerge and it wouldn’t still be a toy: Packages are downloaded insecurely · Issue #936 · haskell/cabal · GitHub.

In other words, they took an idea with a great potential and created something that looks like it was designed on purpose to confuse and scare newbies away, typical “open” source.

I hate how Mac OS is still a thing that Tremulous needs to support. At this point, Ubuntu nailed down the “Sexy OS” motif pretty well for free.

1 Like

why does that matter to u? u’re supposed to write portable code.

which is already sufficient in making Haskell more fit for creating correct programs than languages with weak type-systems.

the good thing is that the amount of things-to-learn (knowledge that humans r not born with) about Haskell is quantifiable. other languages r bad to the point of being indescribable.

do u know what’s TRUE_LOVE™? u’d think it’s LOVE™ at first sight. WRONG. it’s when, at first sight, u immediately abandon ur previous first-sight LOVE™. so, for example, if u had thought that C++ was a good language, but immediately abandoned it in favor of Haskell (like i did), then u know that’s the real thing.

i also disagree with the naming of “do” and “return”. but otherwise, it’s actually the other languages that should be criticized for not working like Haskell.

and an immediate recognition of that + and * work in a number-like way.

it’s epic, creating code that is more readable.

surely, 900913 wouldn’t use Haskell in a server management tool, would it?
would NASA?
FB doesn’t write access libraries in Haskell, does it?

where’s all the research?

hmm, development tools in the writing and formal verification of the seL4 kernel?
formal verification? high assurance? wtf for, i mean like, wtf is automated drone software?
what mythical company would create such things?

ah, i get it ! semi-RC drones need high assurace to prevent kids from accidentally shooting themselves with the drone-mounted Gatling guns.

How much BP does this cost?

1 Like

Well, it doesn’t, you’ll simply get a different platform-dependent behavior on integer overflow.

I’m just curios why 2147483647 + 1 isn’t -2147483648 for you.

That’s why people are using saner languages like C# or Python more and more.

I almost did, but then I stumbled upon this: Packages are downloaded insecurely · Issue #936 · haskell/cabal · GitHub

Impressive, but it looks like that that amount of support is still not enough to implement proper library download security…

Also:

About package security:

Even Arch Linux package manager stopped being a toy and added package signing long ago.

Don’t get me wrong, I want use Haskell, but, sadly, it’s still a toy.

I won’t touch Haskell until this bug is fixed: Packages are downloaded insecurely · Issue #936 · haskell/cabal · GitHub

yes, but what does that say about the language itself?

there is proper library download security for proper operating systems. for example, on FreeBSD, packages r signed, which includes Haskell packages.

yes, i suggest that u use it. for example, to install Xmonad on Ubuntu, use

apt-get install xmonad

use it !

well, ppl like to toy around with useful programming languages.

why? also, pro tip: repeat after him.

Nothing… except that the developers of the main (and practically only) implementation don’t seem to care about security. It’s a part of Haskell Platform after all.

And where did FreeBSD packagers get the sources?

OK, it might not be a package manager, but it’s still included in the official Haskell Platform and is a recommended way (for newbie developers at least) to install libraries. Not being a complete package manager is still no excuse for it to be insecure.

WRONG. at least, no less than the developers of Clang.

from the code repository, where else?

life sux. anyways, first thing’s first:

but the very very very first thing to do is to remove backdoors from ur hardware, especially Apple hardware.