OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 10:58 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: A site like this, but for language development?
PostPosted: Thu Sep 15, 2011 4:31 am 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
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


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Thu Sep 15, 2011 7:40 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
cxzuk wrote:
* It should be purely...


IMVHO, "fail" right there. "Pure" is for the lab.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sun Sep 18, 2011 3:57 am 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
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


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Mon Sep 19, 2011 12:47 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Learn Haskell :wink:

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Mon Sep 19, 2011 4:29 am 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
Quote:
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.

Quote:
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


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Mon Sep 19, 2011 5:10 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
cxzuk wrote:
Quote:
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++.)

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Wed Oct 12, 2011 8:28 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 11, 2011 9:51 pm
Posts: 58
Location: Bronx, NY
Quote:
But be warned: The first question they will probably ask you is why the world needs another programming language.


Agree!

_________________
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sun Oct 16, 2011 4:32 pm 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
Jvac wrote:
Quote:
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.


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sun Oct 16, 2011 6:19 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 3:03 am
Posts: 1029
Location: Hobart, Australia
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.

_________________
My Personal Blog | My Software Company - Loop Foundry | My Github Page


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Fri Oct 21, 2011 1:11 pm 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
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.


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Fri Oct 21, 2011 5:43 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 11, 2011 9:51 pm
Posts: 58
Location: Bronx, NY
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.

_________________
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sat Oct 22, 2011 2:43 am 
Offline
Member
Member

Joined: Mon Dec 21, 2009 6:03 pm
Posts: 164
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?


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sat Oct 22, 2011 9:17 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 11, 2011 9:51 pm
Posts: 58
Location: Bronx, NY
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.

_________________
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Mon Oct 24, 2011 7:39 pm 
Offline
Member
Member

Joined: Thu Aug 11, 2011 12:04 am
Posts: 125
Location: Watching You
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.

_________________
Get back to work!
Github


Top
 Profile  
 
 Post subject: Re: A site like this, but for language development?
PostPosted: Sun Oct 30, 2011 6:04 am 
Offline
Member
Member

Joined: Thu Aug 18, 2011 11:19 pm
Posts: 52
Been looking for this myself. I'll buy compilerdev.org and some hosting if anyone will help me build it?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group