Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Miscellaneous
»
Favorite Language Features
« previous
next »
Print
Pages: [
1
]
2
3
Go Down
Author
Topic: Favorite Language Features (Read 10455 times)
0 Members and 1 Guest are viewing this topic.
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Favorite Language Features
«
on:
May 21, 2011, 10:30:39 pm »
What are some things you like/dislike about a language (Java, C#, Fortran, Groovy, C++, C, etc.)?
Please list the language, then what you like about it.
EDIT: I'm talking more about language features, not speed (that's an implementation issue).
For example:
Java:
like:
-garbage collector
dislike:
-garbage collector runs when you don't want it to
«
Last Edit: May 21, 2011, 11:08:07 pm by Binder News
»
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Favorite Language Features
«
Reply #1 on:
May 21, 2011, 10:40:10 pm »
Axe
Like:
Fast and portable.
Dislike:
Not as much control. (Can't wait for Axsembly!)
C/C++
Like:
Low-level.
Dislike:
Inconsistent syntax.
Java
Like:
Strict syntax. (Some people love it, most people hate it.)
Dislike:
Strict syntax. (Ditto.)
Javascript
Like:
Intuitive once you get the hang of it.
Dislike:
Syntax too wordy without jQuery.
jQuery
Like:
Compatible, consistent, and elegant.
Dislike:
Slow.
Lua
Like:
Cross-platform, fast.
Dislike:
Tables. (I'm still stuck in the OOP paradigm.)
PHP
Like:
Widely accepted web programming.
Dislike:
Very slow, inconsistent, and too trapped by its own backwards-compatibility (the same problem as C++).
Python
Like:
Extremely intuitive and elegant.
Dislike:
Slow.
TI-BASIC
Like:
Portable.
Dislike:
Slow, highly constricted (on Nspires).
Windows batch
Like:
Convenient.
Dislike:
Structure and syntax quirks. (What? They actually
force
me to use GOTO?)
Z80 assembly
Like:
Low-level.
Dislike:
Too repetitive in some ways.
«
Last Edit: May 21, 2011, 10:43:27 pm by Deep Thought
»
Logged
ruler501
Meep
LV11
Super Veteran (Next: 3000)
Posts: 2475
Rating: +66/-9
Crazy Programmer
Re: Favorite Language Features
«
Reply #2 on:
May 21, 2011, 10:40:49 pm »
Python:
Like:
-Clear organization
-modules
-easy to learn(relatively)
dislike:
-slow(relatively)
-not as easily portable as some other languages
C/C++
Like:
-easy to see the organization
-FAST
dislike
-semicolons/braces
-having to declare variables
Logged
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here
https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: Favorite Language Features
«
Reply #3 on:
May 21, 2011, 11:06:50 pm »
Okay, thanks. Now, let's say speed is irrelevant. I'm talking more about language features.
For example:
Java:
like:
garbage collector
dislike:
almost no control over the garbage collector
the internal workings of Java itself allocate memory, (seriously. I have a program where ALL the memory is allocated at the start. All other allocations were from Java class library calls.)
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: Favorite Language Features
«
Reply #4 on:
May 22, 2011, 04:37:06 pm »
bump
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Favorite Language Features
«
Reply #5 on:
May 22, 2011, 04:53:39 pm »
SuperH Assembly:
Likes:
Instructions are a constant two bytes large.
Most normal operations have dedicated opcodes.
Single cycle execution time for all by a handful of instructions.
Simple syntax.
Highly backwards compatible.
Powerful.
Dislikes:
Certain important operations, such as MOV.L @Rm-,Rn aren't supported.
It takes a lot of code to do non-trivial things.
The division opcodes are extremely difficult to use efficiently.
Too few registers.
x86/x64:
Likes:
Powerful.
Hardware support for pretty much every function you could reasonably desire.
Large number of available registers.
Dislikes:
Slow execution of many instructions.
Inconsistent and highly variable instruction size.
Branch execution is very difficult to optimize.
The "standard" x86/x64 instruction set is badly defined and many different variants are floating around.
Axe:
Likes:
Fast.
Fairly powerful.
Makes greyscale simple.
Dislikes:
Often not as efficient as pure z80.
The syntax is too strict.
Java bytecode:
Likes:
Powerful.
It's an elegant language.
Dislikes:
Some of the instructions are annoyingly complex and the garbage collection means that you have to be careful with your pointers.
Slow (unless interpreted by hardware).
CIL bytecode (.net):
Likes:
It's limited Turing complete.
Dislikes:
Slow, complex, and garbage collection.
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: Favorite Language Features
«
Reply #6 on:
May 22, 2011, 04:56:54 pm »
Humm. Ok, well I guess that's useful. Just please keep in mind, that I'm really talking more about higher-level language features (ex garbage collection, synchronized blocks, const). But I guess lower-level stuff can be useful as well.
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
Ashbad
Guest
Re: Favorite Language Features
«
Reply #7 on:
May 22, 2011, 05:58:56 pm »
Axe
Likes: It actually has a pretty loose syntax, and is pretty powerful and extremely easy to code in.
Dislikes: Its variable system can be limited at times and makes you have to use pure pointers very often, and the principle of least surprise isn't seen at all: code written by a newbie can be hard to understand sometimes -- unless you wrote the code, good luck trying to decipher it.
z80 assembly
Likes: fast, and with a good assembler like Brass or SPASM you can get away with murder in many cases.
Dislikes: extremely strict syntax for many instructions, and many instructions you would think would be supported, aren't in most cases.
C
Likes: very fast, and like Axe can have a nice, loose syntax.
Dislikes: strict procedural rules and like Axe, the Least Surprise ideals are missing -- if you skip over one line of code, you might not understand the entire thing.
C++
Likes: adds OOP to C
Dislikes: a horrible implementation of OOP.
Python
Likes: very intuitive, and actually pretty fast for an interpreted language.
Dislikes: not as flexible with lambda statements and block coding.
Ruby
Likes: Beautiful syntax that builds upon python's, very easy to read and code can be extremely loose and condensed at the same time. Plus, great handling of lambda statements and blocks.
Dislikes: lower-level things can be very slow, but it beats python for speed if you use the YARV or JRuby frameworks.
Ada
Likes: a C-like language with much more flexibility and better syntax
Dislikes: not as many people besides the government use it, so it's hard to find as many modules/libraries for it.
Java
Likes: a decent approach to OOP, definately beats C++'s by a long shot, and many more OOP features than many other languages
Dislikes: horrible syntax, too high level and low level at the same time, since it supports primitives AND high level objects, which can lead to stupid code
Groovy
Likes: Java done right.
Dislikes: not many. Maybe just things not having to do with actual code, like the pain you go through just to set up a project correctly and make it work with Java resources.
D
Likes: a bit of an improvement on C++, with more flexibility with objects and polymorphic code
Dislikes: still has horrible OOP like C++
Javascript
Likes: I really don't like anything about it
Dislikes: where to start? Horrible syntax, horrible fake OOP is fake and horrible, pretty slow, and most applications require a lot more code than other scripting languages
Lua
Likes: it's form of 'OOP' (I use that loosely) -- it's
extremely
flexible and fun to write in, and is pretty decently fast
Dislikes: not that much module support, and the standard debugger really sucks at supplying feedback
Logged
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Favorite Language Features
«
Reply #8 on:
May 22, 2011, 06:07:37 pm »
Oops, forgot to add these:
Prolog:
Likes:
Code tends to be compact.
No more difficult problem solving.
Dislikes:
Compilation is incredibly slow...
TI-84+ BASIC:
Likes:
I wish every HLL was more like TI-BASIC. The syntax is beautiful and the math support is arguably better than many "normal" languages or other forms of BASIC.
The IDE is also excellent, missing only Copy and paste.
Dislikes:
Somewhat slow and the interpreter can sometimes bug out, requiring a reset.
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: Favorite Language Features
«
Reply #9 on:
May 23, 2011, 03:13:58 pm »
Ok, I still would like more people to comment please...
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Favorite Language Features
«
Reply #10 on:
May 25, 2011, 01:43:56 am »
TI-83+ BASIC
Likes: Fast to program, easy to learn and code, smaller executable code, relatively stable
Dislikes: Slow, massive data size (a list element takes 9 bytes for example), less control on the calc
Axe
Likes: Fast to program, somewhat easy to learn if you already know TI-83+ BASIC, not too hard to code, small data size, programmable on-calc, runs very fast and gives more control on the calc, very easy to perform graphical stuff
Dislikes: Error usually means crash and data loss, large executable code size, hard to use external data, not as much control on the calc as ASM
ASM
Likes: The fastest language for calcs, total control on the calc, small data size
Dislikes: Error usually means crash, larger executable code size than TI-BASIC in certain cases (unless you use bcalls), major hassle to learn and takes forever to code large games.
Logged
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: What would your perfect programming language be like?
«
Reply #11 on:
June 07, 2011, 05:30:56 pm »
Okay, I'm reviving this topic, and changing it a little. What features would your perfect programming language have?
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Favorite Language Features
«
Reply #12 on:
June 07, 2011, 05:38:17 pm »
A good IDE (whether it be notepad++ or a dedicated IDE).
A simple compiler/interpreter (IE, press a build button and enter in the name of the output file).
Very simple syntax. The mark of a well designed language is that a beginner can understand it without much work, but an expert still finds it useful.
Easy screen access for GUIs.
Fast execution time.
Low level access for those non-standard things.
No Objects. The language also has to be Imperative.
Extensive math/string capabilities.
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
Binder News
LV8
Addict (Next: 1000)
Posts: 785
Rating: +46/-3
Zombie of Tomorrow
Re: Favorite Language Features
«
Reply #13 on:
June 07, 2011, 05:58:58 pm »
Why no objects?
Logged
Spoiler
For
userbars
:
Hacker-in-training! Z80 Assembly Programmer Axe Programmer
C++ H4X0R Java Coder I <3 Python!
Perdidisti ludum Cerebrum non habes
"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler
For
Test Results
:
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Favorite Language Features
«
Reply #14 on:
June 07, 2011, 06:15:01 pm »
Because they make the code more confusing than it needs to be. Black boxes are something you should be trying to avoid, not create, especially within the program itself. The useful features that objects do provide can easily be synthesized through argument passing.
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
Print
Pages: [
1
]
2
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Miscellaneous
»
Favorite Language Features