It's actually quite interesting, that SQL, the language based on declarative paradigm could gain popularity. It's different from imperative or object oriented, but people liked it. Now take a look at functional programing, it's also different, but people are mostly afraid of it. It's also interesting, that Prolog, the langage, that also based on this didin't gain popularity and failed into oblivion. Is this only about people mindset? Can non-mainstream paradigms gain popularity? Do we need new ones or should we study existing paradigms and focus on theirs similarities?
Name:
Anonymous2011-05-01 7:53
>>11
Aspect-oriented paradigm is non-mainstream but appears to be gaining a foothold...
Name:
Anonymous2011-05-01 8:05
>>11
Wut? SQL isn't a language. Just a few functions for storing and retrieving data. No more declarative than your `map` and `fold`.
Name:
Anonymous2011-05-01 8:12
>>12 you right >>13 Yes, it's (specialized) language, it's declarative because you don't create algorithm, that retrieves data, you just indicate, what conditions data must fulfill if it will to extracted.
>>11
Why do you care so much about popularity? Just be happy if a language has good enough implementations and that they are well-maintained and documented.
Name:
Anonymous2011-05-01 8:30
>>14
I indicate at my `reduce` function with `from-end` and `intial-value` keywords. Lisp is fucking declartive!
>>16
(im-an-faggot
select car as x
from '(1 2 3)
select caar as key
cdar as value
from '((x . 1) (y . 2) (z . 3) (w . 4) (a . 5) (b . 6))
where (even? value)
mapping (cons key (+ value x)))
Name:
Anonymous2011-05-01 23:09
guys now i have more trouble
i got the database working but now how do i get this to work
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace CSharp_SQL
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}