News for hackers. Stuff that matters.
Re:The Zimbu programming language by gravypod on Monday December 26, 2016 @01:27PM (#13259191)
Simplicity is the most difficult thing to engineer. I think this is a good example of that.

There are so many symbols, special cases, if ands and buts. When do things get $? When do things get ;? When do things get capitalized?

Making words capitalized shouldn't be needed. If your language is being used and the syntax of the language encompases more of then the meaning you are attemping to convey then you've poorly designed the language.

I think python is a good example of how to be simple. There are (), :, and whitespace. You have if, elif, def, and class (I'm not counting pass). The syntax and semantics are simple (although I don't like the reliance of whitespace as a block segregation technique).

It's hard to see the logic under the language in Zimbu. In python the logic is the language. When you see really pythonic code, the code are just expressing the ideas in a simple way using the language's keywords is a way to make it even simpler. For example

   for account in database(outstanding_bill=True): 
      print(account.name)
As you can see, there is a syntax to this but it reads the same way as the program is meant to run. "For every account found in database that has outstanding_bills print the account name". The syntax is part of the meaning in this. In Zimbu..... I think work needs to be done. I'm just not getting it I don't think.
Re:The Zimbu programming language by kibwen on Monday December 26, 2016 @01:52PM (#13259290)

  > There are (), :, and whitespace. You have if, elif, def, 
  > and class (I'm not counting pass).
I'm a big fan of Python, but I'm not sure what you're trying to say here. There are way, way more than four reserved words in Python (including ones like `False` which aren't immediately obvious as keywords due to the different capitalization). There are also way more symbols used than those you list: [] for lists/comprehensions, {} for dicts/sets, single/double asterisks for unpacking, @ for decorators, all the familiar symbolic bitwise operators that C has, \ for line continuations, ; for multiple statements on the same line, etc.
Re:The Zimbu programming language by gravypod on Monday December 26, 2016 @02:05PM (#13259339)
I meant to start. They may be pervasive throught the community but you don't need to know about them as you may not even see them for the first little while.

Decerators are something I am also not going to count as they aren't going to be the first thing, or even one of the most basic things, you will encounter. It's like counting "register" as a C keyword. It is buy you're likely to be able to go an entire lifetime without seeing it in a codebase.

In Python 2 True and False are not keywords. You can reassign their values. But I see what you mean and yes my list isn't comprehensive. It's an example.

The list would probably be more like (), {}, [], <, >, !, =, \, ',', :, ;, *, and @. For a basic programming experiance you you're probably not going to see or even care about a most of the nitty and gritty ones you describe in the contexts as you describe. You could even avoid using [] and {} by just writing "list()" and "dict()".

Basically I agree but again the point still stands. Python has far less clutter then what is demonstrated here. While python may have many really cool magic single-character operators most of them aren't really in your face. "!=" may be the most in your face one along side ":". In total the clutter is just not dumped all over your code or at least it doesn't seem like it is.

Re:The Zimbu programming language by zdkl on Monday December 26, 2016 @02:20PM (#13259395)
Sounds like what you want is clojure. Once you know what ()[]{}#'@ mean, you only need to basically understand the couple dozen "stdlib" functions and you're good to go.
Re:The Zimbu programming language by hashkb on Monday December 26, 2016 @03:20PM (#13259586)
Or a more pure, simpler LISP like a member of the Scheme family.
Re:The Zimbu programming language by zdkl on Tuesday December 27, 2016 @01:19AM (#13261616)
Academically sure, in the real world I think Clojure has more advantages in terms of tooling, evolution potential and community/ecosystem. Aside from the "nitty gritty" aspects related to being hosted on the jvm I find clj to be the superlative of simpleness.
Re:The Zimbu programming language by seanmcdirmid on Monday December 26, 2016 @03:13PM (#13259563)
As a counterpoint, APL was a very popular language in its day. Special symbols, very obtuse and concise syntax, heck, it even had a special keyboard. There are some niches where such choices can work.
Re:The Zimbu programming language by gravypod on Monday December 26, 2016 @03:19PM (#13259582)
How many people use APL currently? Is it easy to find APL programmers?
Re:The Zimbu programming language by Athas on Monday December 26, 2016 @04:06PM (#13259773)
I know of a company (Simcorp) that uses APL extensively. It is probably pretty rare that they hire someone who is already a proficient APL programmer, and most of their hires probably don't know it at all. So they train them. It's not that hard to learn. Also, most of the APL programmers are experts in some other domain, usually finance, so they don't have too many preconceptions of what programming is like.
Re:The Zimbu programming language by qwertyuiop924 on Monday December 26, 2016 @03:28PM (#13259623)
KDB, a database built on a descendant of APL called K (which can be worked with through K and a slightly friendlier APL-like language called Q), is extremely popular in financial institutions.
Re:The Zimbu programming language by seanmcdirmid on Monday December 26, 2016 @04:53PM (#13259964)
I did say "in the day", APL isn't so popular today, but it's successor languages get lots of use.
Re:The Zimbu programming language by vram22 on Monday December 26, 2016 @05:55PM (#13260217)
Is J [0] one of those that gets lots of use? I have tried it a few times, and was impressed by its power [1] and compactness, but its rather cryptic syntax [2] put me off from going deeper into it. Might still try it more some day.

[0] http://jsoftware.com/

[1] It has some superb demos (which come with the basic install) of many kinds of apps, including up to the level of things like OpenGL graphics ones.

[2] Its succinctness [3] may be a virtue, though, once you get used to it, since programs in it are much smaller than in other languages (I'm guessing both due to its APL heritage and due to using a lot of symbols instead of words - based on what little I have read about it).

[3] That reminds me of PG's essay, Succinctness is Power:

http://www.paulgraham.com/power.html

Re:The Zimbu programming language by gwu78 on Monday December 26, 2016 @06:27PM (#13260318)
I use k4 daily. It is is great for someone who do does not touchtype.
Re:The Zimbu programming language by otabdeveloper on Tuesday December 27, 2016 @01:18AM (#13261612)
> I think python is a good example of how to be simple.

I disagree. Python was a good example of that when it was Python 1.5.

Modern Python 3.5 is a Perl-style nightmare of special cases, weird sigils, ridiculous primitive types needed because of legacy reasons, inconsistent standard libraries and everything else that comes with being a 'serious' language.