|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
I'll have to try out Scala to see what it is.
![]()
__________________
Success is the ability to go from failure to failure without losing your enthusiasm. ~ Winston Churchill Braingle |
|
|||
|
Basically it's a runtime library and a compiler. It compiles directly to Java bytecode and you can actually just bundle the runtime library into a jar file and then it's indistinguishable from a general Java app.
You can do all the normal Functional language stuff. Anonomous functions, first class functions, higher order functions, so on and so forth. It also has mixins from Ruby (though Scala calls them traits). It optimises tail calls IIRC by using exceptions to trampoline it. Hopefully Java 7 will see proper tail calls implemented, that will fix a lot of functional languages on the JVM. The real brilliance is the type inference system is very good and allows you to leave a program nearly typeless and it will infer most types avoiding the need to use reflection. You can call any Java code from Scala. Going the other way is more difficult but can be done if you extend interfaces.
__________________
Currently bemused by: LLVM. |
|
|||||
|
If you want to learn web programming, learn HTML and CSS, then some advanced languages like Javascript. Of course it's a lot harder than I make it out to be, ha ha.
__________________
Funny Stories and Humorous Pictures |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linked list | borny86 | Pascal/Delphi | 9 | 12-06-2007 11:42 AM |
| a question about game programming | feariel | C and C++ | 8 | 12-05-2007 05:42 PM |
| Help! Identifying programming language | Gixxerman | General Programming | 5 | 11-02-2007 12:34 PM |
| Beginning Programming | frank_l | C and C++ | 11 | 10-11-2007 02:23 AM |
| Xav | ........ | 160.68 |
| neerlin | ........ | 100 |
| satrian | ........ | 100 |
| delia | ........ | 100 |
| chili5 | ........ | 70.08 |
| morefood2001 | ........ | 36.91 |
| MeTh0Dz|Reb0rn | ........ | 27.15 |
| RyanTuosto | ........ | 20 |
| gamiR | ........ | 19.64 |
| John | ........ | 14.46 |
Goal: 100,000 Posts
Complete: 68%