Simplify Web Application Development
January 26, 2012Posted by on
There are a lot of interesting discussions on Reddit about star script. It is now ranked #2 controversal in the technology/programming section. I think I need to clarify the target user/use cases before the whole design would make sense.
Programming language can be used to do many things, from number crunching, system programming, to text processing, application configuration, etc. A lot of programmers, especially hackers tends to focus on the tough ones such as system programming and number crunching. For this type of tasks, being more disciplined is a blessing. A little mistake will render the entire calculation result useless or crash the entire system. However, when I designed Star Script, those use cases are not ranked high in my priority. I am having a mental image of an average person, who will use programming to do basic stuff such as text processing, simple calculation, assembling some components built by somebody else, etc. For those type of tasks, there is no need to be too disciplined. Being more tolerant makes learning and usage of the langauge smoother.
One of the most distinct feature of Star Script is its error detection and recovery capability. Try to detect and recover from all errors is very challenging. You have all kinds of errors, from syntax error, semantic error, to runtime error. The number of total possible errors are huge. It did not look possible at first and took me quite some time to figure out some very innovative approaches to reduce the complexity and make the total situation manageable. Now I am trying to give the best possible recovery response in every case. I hope I covered all of them. If I missed anything, please let me know. Thanks!