aspose file tools*
The moose likes Jobs Discussion and the fly likes As a programmer, how often do you feel the need of creating your own laguage for your purposes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Careers » Jobs Discussion
Bookmark "As a programmer, how often do you feel the need of creating your own laguage for your purposes?" Watch "As a programmer, how often do you feel the need of creating your own laguage for your purposes?" New topic
Author

As a programmer, how often do you feel the need of creating your own laguage for your purposes?

Aakash Goel
Ranch Hand

Joined: May 26, 2008
Posts: 198
While I was learning how to build compilers, my instructor always told me, "If you are a programmer, you will always find that none of the languages are appropriate and instead you'll be motivated to create your own personalized language...".

Do you as a programmer feel this?


SCJP 5 95%
SCJP FAQ | SCJP Mock Tests | SCJP Tipline | Generics
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Never once in 31 years on the job.

Doesn't mean I never have though. At one job I needed to create a proprietary scripting language.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Good programming is in big part creating a new, domain specific language. A well written Java method should read like sentences in a language that was specifically designed for solving the problem at hand.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Why would you create a new language when there are 1750 languages in the world!


===Vyas Sanzgiri===
My Blog
Aakash Goel
Ranch Hand

Joined: May 26, 2008
Posts: 198
Vyas Sanzgiri wrote:Why would you create a new language when there are 1750 languages in the world!


Probably none of them is as personalized as one might want it to be? My guess.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

Do you as a programmer feel this?


Well, it depends on how you define a programming language. I am still amazed at how many configuration files became language like in my career. Clients keep asking for enhancements. And you keep adding features... Sooner or later, the tool gets a config file, because it is too complex to use a command line... the config file itselfs get complex... conditional constructs. looping constructs.... and you have something that is very similar to a programming language.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Chad Fowler
Author
Ranch Hand

Joined: May 19, 2009
Posts: 38
Aakash Goel wrote:
Do you as a programmer feel this?


I feel it as an artist and creative person. I don't think I ever feel it as someone trying to get work done.

I think I'd have to disagree with your instructor on this one, though I think the spirit of what he/she said is good: don't be satisfied with your tools. Always think about what their deficiencies might be--even in the language you're using. It will lead you to more creative solutions to problems. For some of us, that will actually result in a new programming language. But for most of us it means creating expressive APIs, using convention over configuration, automating grunt work that most people take for granted, etc.


The Passionate Programmer: Creating a Remarkable Career in Software Development
http://www.pragprog.com/titles/cfcar2/the-passionate-programmer
http://chadfowler.com
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3223
One needs to be careful with being creative. In my view, in a quest to be creative, one should not start writing his/her own utility methods etc when there is a well proven API that does the same job. I have seen programmers reinventing the wheel. This can be dangerous and error prone. One needs to be astutute about where creativity should be applied.


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30780
    
157

arulk pillai wrote:One needs to be careful with being creative.

Agreed. Creativity can be good in thinking of new approaches and bad in doing things in a away that is so non-standard it is unmaintainable.

I've noticed creativity tends to be better at the higher level of solving problems more than the lower level of writing a simple function.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
Henry Wong wrote:Well, it depends on how you define a programming language. I am still amazed at how many configuration files became language like in my career. Clients keep asking for enhancements. And you keep adding features... Sooner or later, the tool gets a config file, because it is too complex to use a command line... the config file itselfs get complex... conditional constructs. looping constructs.... and you have something that is very similar to a programming language.

+1. That's my experience as well, and it's led me to explore the usage of lexers for handling those ever more complex config files.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: As a programmer, how often do you feel the need of creating your own laguage for your purposes?