Author Topic: Favorite Language Features  (Read 10456 times)

0 Members and 1 Guest are viewing this topic.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #15 on: June 07, 2011, 06:16:56 pm »
What are black boxes?
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:





Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Favorite Language Features
« Reply #16 on: June 07, 2011, 06:18:25 pm »
What are black boxes?
You don't know how it works, only that it does. Until it doesn't, at which point you don't know how to fix it.
« Last Edit: June 07, 2011, 06:18:34 pm by JustCause »
See you, space cowboy...

Ashbad

  • Guest
Re: Favorite Language Features
« Reply #17 on: June 07, 2011, 06:24:33 pm »
Mine?

- Object Oriented Programming to the Max, though with improvements on the Inheritance system and in turn a Instance Grouping System
- Quick Debugging
- Syntax that makes sense, but no use of symbols except {},|, etc. for code blocks and "." for object <-> member access
- Functional at the core
- Extensive math/string capabilities

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #18 on: June 07, 2011, 06:24:46 pm »
Oh. I've had one or two of those.But that can happen in any language regardless of whether or not it is OOP.
EDIT: What's in instance grouping system?
« Last Edit: June 07, 2011, 06:26:43 pm by Binder News »
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:





Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Favorite Language Features
« Reply #19 on: June 07, 2011, 06:25:51 pm »
The thing about Objects is that you're not supposed to really understand or care how they work, just what they do, which is why I called them black boxes.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #20 on: June 07, 2011, 06:28:02 pm »
Your're not supposed to really understand or care how compilers work either. Are they Black Boxes?
« Last Edit: June 07, 2011, 06:29:49 pm by Binder News »
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 #21 on: June 07, 2011, 06:30:34 pm »
Your're supposed to really understand or care how compilers work either. Are they Black Boxes?

Well, you're supposed to know how some compilers work -- good Java programmers know how to make their own building setups with the jdk, and C programmers better know how the compiler works if they're going to be doing something that isn't a game or a "hello world" program ;)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Favorite Language Features
« Reply #22 on: June 07, 2011, 06:37:26 pm »
Your're not supposed to really understand or care how compilers work either. Are they Black Boxes?

In a way. Ever watched someone try to fix a bug in a compiler that's not theirs :P

Objects are worse because
A) They typically don't have as much debugging time invested in them as compilers do
B) Generally aren't written by coders at that level (compiler design is generally considered somewhat of a black art.)
C) Are present *in* the code code itself, whereas the bug(s) in the compiler may or may not even be relevant to whatever program you're compiling.
« Last Edit: June 07, 2011, 06:37:55 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #23 on: June 07, 2011, 06:38:13 pm »
Yeah, but it's the same way with Objects. You know a little bit of how they work. And what is an Instance Grouping System?
EDIT: I still like objects, but I guess you shouldn't be forced to use them. What about JIT stuff? Yea, or Nay?
« Last Edit: June 07, 2011, 06:41:23 pm by Binder News »
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 #24 on: June 07, 2011, 06:41:51 pm »
And what is an Instance Grouping System?

Kinda something I just made up with Verdant.  Basically, a group takes the role of providing inheritance (with a supertype defining what all group instances will extend) and Interfaces (a group design basically is the same as a Java interface, but more flexibility of contents).  I personally think my method of Grouping is a lot better than normal OOP in some respects.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Favorite Language Features
« Reply #25 on: June 07, 2011, 06:42:40 pm »
JIT is wonderful for interpreted languages. Yea!!!!!!

The only problem with it is the lack of support for SMC when it's used.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #26 on: June 07, 2011, 06:49:21 pm »
Define SMC please.
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:





Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Favorite Language Features
« Reply #27 on: June 07, 2011, 06:52:38 pm »
Self-Modifying code. Code that changes as it's run.

SMC can be extremely memory efficient (and speed efficient if Caching isn't used). For example, using SMC in Branf*ck allows a memory space of only 270 cells to be turing complete
« Last Edit: June 07, 2011, 06:54:45 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Favorite Language Features
« Reply #28 on: June 07, 2011, 07:03:36 pm »
"Self-Modifying Code"
I should have remembered. I just forgot that was what the acronym meant.
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:





Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Favorite Language Features
« Reply #29 on: June 07, 2011, 08:13:28 pm »
One thing I recently discovered about Java is that it doesn't allow tail-call optimization, meaning you cannot use recursion to make loops without worrying about running out of memory.  This contrasts to some languages like Scheme which require it as part of the language specs.  Just something I thought was interesting...
___Axe_Parser___
Today the calculator, tomorrow the world!