During learn and experience

۴ مطلب در مرداد ۱۳۸۹ ثبت شده است

Scala : a mixed programming language

Scala’s design has been influenced by many programming languages and ideas in programming language research. In fact, only a few features of Scala are genuinely new; most have been already applied in some form in other languages. Scala’s innovations come primarily from how its constructs are put together. In the following list you can see main influences programming language to scala:

  1. Java : Large part of the syntax , basic type , class libraries and execution model.
  2. C# : Large part of the syntax.
  3. Smalltalk : uniform object model and treating.
  4. Ruby : uniform object model.
  5. Eiffel : uniform access principle for method invocation and field selection.
  6. Haskell : functional programming approach and implicit parameters.
  7. F# : functional programming approach.
  8. Erlang : actor-based concurrency library.
  9. C++ : operator overloading and template system.
  10. Lisp : flexible syntax for building internal domain-specific languages.
Scala has also contributed some innovations to the field of programming languages. For example:
  1. abstract types (alternative to generic types)
  2. traits for flexible component assembly.
  3. extractors a representation-independent way to do pattern matching.
source : Programming in Scala: A Comprehensive Step-by-step Guide by Martin Odersky, Lex Spoon, and Bill Venners

have a nice time.
۲۹ مرداد ۸۹ ، ۱۴:۳۳ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام

How to configure UTF-8 URIEncoding in Tomcat

If you have a problem with GET parameters in URL. Edit Tomcat's conf/server.xml file and add the following attribute to the correct Connector element: URIEncoding="UTF-8".

   8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"

have a nice time.
۲۷ مرداد ۸۹ ، ۰۹:۲۶ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام

Best definition of C programming language

"C is not a ``very high level'' language, nor a ``big'' one, and is not specialized to any particular area of application.
A C program consists of  functions and  variables. A function contains  statements that specify the computing operations to be done, and variables store values used during the computation."

I believe that This is the best definition about C programming language. It has only two main concept (function & variable) so it is very simple to study.

have a nice time.
۲۶ مرداد ۸۹ ، ۲۲:۴۲ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام

My first cup of Python programming language

At the my first view , python programming language is :
  • easy to lean.
  • object oriented.
  • dynamic type.
  • interpreting language.
  • suitable for scripting.
  • suitable for rapid development.
  • cross platform.
  • and ...
Python is simple to use, but it is a real programming language, offering much more structure and support for large programs than shell scripts or batch files can offer. Python is an interpreted language, which can save you considerable time during program development because no compilation and linking is necessary. Programs written in Python are typically much shorter than equivalent C, C++, or Java programs.

# my first python program
print("hello word")

have a nice time.
۲۱ مرداد ۸۹ ، ۲۳:۵۴ ۲ نظر موافقین ۰ مخالفین ۰
سعید زرین فام