>>4 "Functional Programming Considered Useless"
Who would write a paper about that though? Everyone knows they're considered useless.
Name:
Anonymous2007-08-15 0:48 ID:CaAmSBjq
>>8
You wouldn't write your paper about them being useless. You'd write it about some specialized algorithm that could be done using a functional algorithm, explaining in detail every line of your nonsensical code that essentially does nothing.
>>17
Are you somehow not familiar with Morris's corollary?
Name:
Anonymous2007-08-16 16:35 ID:RFk7LN7Q
Monadic style is a horrible way to program. Functional programming is a total PITA.
I like passing functions around and stuff but it doesn't work for everything. Also computers are not designed for functional stuff. They love side effects.
Name:
Anonymous2007-08-16 17:09 ID:vwP0RLmO
>>15
because its fast as hell? (performance wise..)
go write yourself a OS in VBA and come back when it boots..
Functional programming is far less of a PITA than imperative.
Also, computers are not designed for human use. They're designed to be able to push bits around in a way that can be implemented with transistor technology. It's converting human problems to that representation that is the PITA. Functional languages, et al, bridge the gap between our problems and the relatively dumb CPU.
Old bullshit. Java JIT and compiled Lisp apps can routinely match or exceed C speed, with far less development effort. Even if they run at only 90% speed, saving 80% of your development time more than makes up for it.
Name:
Anonymous2007-08-16 20:46 ID:qrqUBXqz
>>20 >>24
it depends on the kind of application you're trying to write. Yes, C is great for writing an OS and some other kinds of application. There is no reason to use C when you could use something else, sacrificing speed for development time and stability.
Most programs today are not crunching arrays of numbers in a tight loop. When they are CPU bound, they are usually making complex decisions over dynamic rules and constantly changing datasets. But usually they are I/O bound anyway. Adding complexity like intelligent caching, JITs and data reordering algorithms that constantly refine based on usage, transparent parallelism, and other such things allow high level optimizations that are difficult to impossible to achieve in asm or C, and blow away any simple cycle counting, pipelining, CPU cache optimization, or SIMD tricks.
Name:
Anonymous2007-08-17 14:15 ID:C1YWUbwK
>>29
You cannot exceed well-written assembly, you mean.
I'M IMPERATIVE PROGRAM
SON OF A BITCH FUNCTIONAL PROGRAM
HASKELL IS PIG
DO YOU WANT A LAZY EVALUATION?
DO YOU WANT A SIDE EFFECT?
HASKELL IS PIG DISGUSTING
MONAD IS A MURDERER
FUCKING FUNCTIONAL PROGRAMMING
I'M REDDIT
SON OF A BITCH DIGG
DIGG IS PIG
DO YOU WANT A TUTORIAL?
DO YOU WANT A [PIC]?
DIGG IS PIG DISGUSTING
KEVIN ROSE IS A MURDERER
FUCKING DIGG
Name:
Anonymous2007-08-17 18:58 ID:2xAtWQE3
I'M DIGG
SON OF A BITCH REDDIT
REDDIT IS PIG
DO YOU WANT A LISP?
DO YOU WANT A RON PAUL?
REDDIT IS PIG DISGUSTING
AARON SWARTZ IS A MURDERER
FUCKING REDDIT