Page 2 of 4
Re: A site like this, but for language development?
Posted: Thu Sep 15, 2011 4:31 am
by cxzuk
Heres my opinion on what a language/compiler should do
* It should be purely object orientated.
-- This means all variables are also objects.
* DCI not classes based objects.
-- classes work well for representation though.
* "Code Contracts"
http://en.wikipedia.org/wiki/Design_by_contract
* Exception handling made simple.
* Strong language to express your intentions. (Clarity)
* Information should never be lost
-- Optimisations should be coded separately.
mike brown
Re: A site like this, but for language development?
Posted: Thu Sep 15, 2011 7:40 am
by Solar
cxzuk wrote:* It should be purely...
IMVHO, "fail" right there. "Pure" is for the lab.
Re: A site like this, but for language development?
Posted: Sun Sep 18, 2011 3:57 am
by cxzuk
I do love Eiffel, But it really does feel like its ideas are more important that its implementation.
Average everyday programmers are what higher-languages are for, And i believe they should be limited or controlled into following best practises.
"Object-Orientated" is a form of organisation. There is no reason why all programmers code can not be organised with objects.
Classes do not make good objects, They produce fragmented code which gets scattered between multiple semi-related objects.
Mike Brown
Re: A site like this, but for language development?
Posted: Mon Sep 19, 2011 12:47 am
by Combuster
Learn Haskell
Re: A site like this, but for language development?
Posted: Mon Sep 19, 2011 4:29 am
by cxzuk
There is no reason all code could not be organized in a functional manner. No objects, immutable values, pure fun.
Applications have long since developed passed the feasibility of being made in a purely functional manner. Programmers mental scope is just too small to see a project as a whole.
Classes make objects as good as you as a programmer can make them.
I never trust everyday programmers to do the right thing. To change classes into something simple and easy to use is pretty hard in current languages, so they just dont bother
mike brown
Re: A site like this, but for language development?
Posted: Mon Sep 19, 2011 5:10 am
by Solar
cxzuk wrote:There is no reason all code could not be organized in a functional manner. No objects, immutable values, pure fun.
Applications have long since developed passed the feasibility of being made in a purely functional manner. Programmers mental scope is just too small to see a project as a whole.
Apparently berkus should've placed a </sarcasm> tag there.
Yes, "pure" functional programming doesn't cut it anymore.
Hint #1: "Pure" object-oriented programming isn't that much better.
Hint #2: It
very much depends on the skill level of the programmer(s) doing the work. I prefer well-done C over haphazard Java anytime. I prefer well-done C# over haphazard C++, I prefer well-done Perl over haphazard C, I prefer well-done Java over haphazard Python. I prefer any well-done X over any haphazard Y, with the possible exception of Brainfuck and Assembler (the former being haphazard by definition, the latter appearing haphazard either to the programmer or the CPU - and, sometimes, both
).
In the end, it is about how much the language
enables the programmer to "do the right thing". "Pure" paradigm languages usually require the programmer to jump through a couple of hoops to satisfy the paradigm, which doesn't benefit coding style.
I admit that, on the other end of the scale, powerfully
enabling languages can make it very hard to
find the right thing to do. (Point in case: C++.)
Re: A site like this, but for language development?
Posted: Wed Oct 12, 2011 8:28 pm
by Jvac
But be warned: The first question they will probably ask you is why the world needs another programming language.
Agree!
Re: A site like this, but for language development?
Posted: Sun Oct 16, 2011 4:32 pm
by cxzuk
Jvac wrote:But be warned: The first question they will probably ask you is why the world needs another programming language.
Agree!
I think a better question is why do we need the ones we have?
A computer language to me is just a barrier between me and the computer. They don't represent how i think, and they don't represent how the computer thinks.
Re: A site like this, but for language development?
Posted: Sun Oct 16, 2011 6:19 pm
by JackScott
cxzuk wrote:A computer language to me is just a barrier between me and the computer. They don't represent how i think, and they don't represent how the computer thinks.
They're better at representing our thoughts than machine code. I don't know about you, but I definitely prefer writing in (a limited subset of) real words.
Re: A site like this, but for language development?
Posted: Fri Oct 21, 2011 1:11 pm
by cxzuk
Imo i think languages have aimed at implementation, and so the subset of real words represent that train of thought.
We've (hopefully) all realised that design is king. the problem comes when people think code is design. our current languages haven't helped with that, shoe horning the two together.
I hope one day design is what we write in, and implementation gets hidden away or better, automated.
Re: A site like this, but for language development?
Posted: Fri Oct 21, 2011 5:43 pm
by Jvac
cxzuk wrote:I think a better question is why do we need the ones we have?
Please explain why don't we need the ones that already exist?
cxzuk wrote:We've (hopefully) all realised that design is king. the problem comes when people think code is design.
I could not agree more that many people myself included think this way.
Re: A site like this, but for language development?
Posted: Sat Oct 22, 2011 2:43 am
by cxzuk
Jvac wrote:cxzuk wrote:I think a better question is why do we need the ones we have?
Please explain why don't we need the ones that already exist?
cxzuk wrote:We've (hopefully) all realised that design is king. the problem comes when people think code is design.
I could not agree more that many people myself included think this way.
it was the reverse of the why do we need a new language. if there is so many already, imo they can not be solving the problem at hand.
Sorry. are you saying that you think code = design?
Re: A site like this, but for language development?
Posted: Sat Oct 22, 2011 9:17 am
by Jvac
cxzuk wrote:Sorry. are you saying that you think code = design?
Yes at the beginning of things. But now I know that design = many others things other than code.
Re: A site like this, but for language development?
Posted: Mon Oct 24, 2011 7:39 pm
by ACcurrent
Why do we need more OSes then? I think the answer will be the same as why do we need more languages. And BTW, Id love a forum for VM & Language development. And code is NOT equal to design, it is merely a way of expressing ones design to the computer.
Re: A site like this, but for language development?
Posted: Sun Oct 30, 2011 6:04 am
by bonch
Been looking for this myself. I'll buy compilerdev.org and some hosting if anyone will help me build it?