|
my stepdads beer posted:so with all the erlang chat are there any open source pbx/telephone things actually written in erlang that are good? Only one I know of is whistle, but it's more of a polyglot thing with some essential pieces of their stack built in Erlang.
|
# ? Dec 28, 2012 14:29 |
|
|
# ? May 9, 2024 00:30 |
|
fidel sarcastro posted:what's so bad about it? seems like a reasonable way to cut down on code when you're using it for something obvious (not condoning dumb obfuscated perl, here) For all of the boring things it does, you already have operators for that make your intent clear; for all of the cool things it does, you can write it as the equivalent grep to make your intent clear. http://blogs.perl.org/users/brian_d_foy/2011/07/rethinking-smart-matching.html Also, you can't tell what code:
Even given/when only sort of works and is still marked as experimental in the docs three major releases on: http://perldoc.perl.org/perlsyn.html#Experimental-Details-on-given-and-when
|
# ? Dec 28, 2012 18:33 |
|
obviously contrived example:Perl code:
|
# ? Dec 28, 2012 18:41 |
|
Things that are different should look different.
|
# ? Dec 28, 2012 18:41 |
|
I had a CGI class taught by that guy. He's pretty
|
# ? Dec 28, 2012 18:56 |
|
Malcolm XML posted:is there a good lens tutorial out there? have you read https://github.com/ekmett/lens/wiki/Overview?
|
# ? Dec 28, 2012 19:27 |
|
Malcolm XML posted:is there a good lens tutorial out there? none that i found unfortunately aside from what AlsoD linked, but you can ask in #haskell-lens
|
# ? Dec 29, 2012 00:34 |
i just wrote a euler solution in haskell, even if the problem was simple. i still know fuckall about the language though, might try to spend some time with it this weekend because doing too much rails is gonna break my brain (having to do frontend on my own for personal projects is getting on my nerves)
|
|
# ? Dec 29, 2012 03:35 |
|
any f# people have a favourite guide? too funktional in here
|
# ? Dec 29, 2012 03:50 |
|
i should learn haskell after lazily abandoning erlang in a few months
|
# ? Dec 29, 2012 03:58 |
|
if you're lazy then haskell will be great for you
|
# ? Dec 29, 2012 04:01 |
|
yaoi prophet posted:if you're lazy then haskell will be great for you i'm actually getting a growing list of ~super-concurrent~ things to build, statistically at least one of them will be finished
|
# ? Dec 29, 2012 04:03 |
|
gucci void main posted:because the people who use it know even less
|
# ? Dec 29, 2012 04:55 |
|
Jerry SanDisky posted:i should learn haskell after lazily abandoning erlang in a few months Learn golang
|
# ? Dec 29, 2012 04:55 |
vapid cutlery posted:Learn golang golang seems neat and I was thinking about loving around with it a bit this weekend, but I don't know what I'd do
|
|
# ? Dec 29, 2012 04:58 |
|
gucci void main posted:golang seems neat and I was thinking about loving around with it a bit this weekend, but I don't know what I'd do Do what I always do and write a solver or AI for a game and abandon it halfway through
|
# ? Dec 29, 2012 05:00 |
|
I want to try its concurrency stuff still
|
# ? Dec 29, 2012 05:00 |
|
vapid cutlery posted:Learn golang is it actually really novel? its another language that i know nothing about
|
# ? Dec 29, 2012 05:15 |
|
Jerry SanDisky posted:is it actually really novel? its another language that i know nothing about I thought so. It's sort of a combination of C and python
|
# ? Dec 29, 2012 05:18 |
|
it's nothing novel like erlang or anything but it does seem to be a worthwhile language though not used much outside of google/app engine yet
|
# ? Dec 29, 2012 05:20 |
vapid cutlery posted:I thought so. It's sort of a combination of C and python this is the only way I could ever really describe it
|
|
# ? Dec 29, 2012 05:25 |
|
One of the things I like about google go is that formatting is enforced by the compiler and it includes a code formatter
|
# ? Dec 29, 2012 05:32 |
|
i really love the idea of using its goroutines and channels for something fun
|
# ? Dec 29, 2012 05:34 |
|
tef posted:Things that are different should look different. 420 overload operators every day
|
# ? Dec 29, 2012 05:35 |
|
Jerry SanDisky posted:is it actually really novel? its another language that i know nothing about kinda, and not it's c like in syntax, except for the type declarations, and the basic types, and semantic newlines. it is python like, except for the object model, garbage collection, duck typing and module system. go is really like writing in c, except with lightweight threads and pipes as the main concurrency primitive, in the style of limbo, alef and plan9 c. with an object system tacked on. but there isn't really any exception handling, or metaprogramming. they've added a module system, and a type system that's very forgiving. you can use ad-hoc interface types, and a class doesn't explicitly have to implement them to match it (just function signatures). the novelty is more in the combination of features rather than the features themselves.
|
# ? Dec 29, 2012 05:57 |
|
tef posted:kinda, and not I thought go was garbage collected
|
# ? Dec 29, 2012 06:06 |
|
go has a tracing gc, python uses ref counting
|
# ? Dec 29, 2012 06:08 |
|
tef posted:go has a tracing gc, python uses ref counting Ah cool
|
# ? Dec 29, 2012 06:15 |
|
tef posted:go is really like writing in c, except with lightweight threads and pipes as the main concurrency primitive ah just what i wanted more preemptive multitasking to gently caress my poo poo up why don't they have a language that enforces the share-nothing worker thread model
|
# ? Dec 29, 2012 07:22 |
|
go is boring and a dead end imo. it's made too many concessions to convenience to ever be useful as a systems language and it pretends too hard it's a systems language to ever replace something like python or ruby everyone should check out rust tho, it's making a serious run at being what go is pretending to be
|
# ? Dec 29, 2012 07:29 |
|
the talent deficit posted:go is boring and a dead end imo. it's made too many concessions to convenience to ever be useful as a systems language and it pretends too hard it's a systems language to ever replace something like python or ruby rust's cool, it's memory model is a step forward but the syntax is garbage
|
# ? Dec 29, 2012 08:17 |
|
the talent deficit posted:go is boring and a dead end imo. it's made too many concessions to convenience to ever be useful as a systems language and it pretends too hard it's a systems language to ever replace something like python or ruby loving die
|
# ? Dec 29, 2012 08:26 |
|
Malcolm XML posted:rust's cool, it's memory model is a step forward but the syntax is garbage rust's syntax is about the least intuitive thing I've seen
|
# ? Dec 29, 2012 08:43 |
|
my stepdads beer posted:rust's syntax is about the least intuitive thing I've seen the frontpage looks like ruby with more { }
|
# ? Dec 29, 2012 08:47 |
|
Suspicious Dish posted:ah just what i wanted more preemptive multitasking to gently caress my poo poo up erlang
|
# ? Dec 29, 2012 14:55 |
|
Cocoa Crispies posted:erlang lol
|
# ? Dec 29, 2012 15:23 |
|
Cocoa Crispies posted:erlang does erlang deal with immutable data not needing to be copied?
|
# ? Dec 29, 2012 15:24 |
|
the features of go are pretty boring but they combine in a way that make a very nice language to use one of my favorite features of go that noone mentions is that they fixed C arithmetic and got rid of the guessing game of which combination of extensions and truncations a particular expression would go through on its way to a result.
|
# ? Dec 29, 2012 15:26 |
|
lol at the idea of using a fad lang like go, let alone one developed by goog. immaturity AND a guarantee of quick abandonment??? sign me up!
|
# ? Dec 29, 2012 16:28 |
|
|
# ? May 9, 2024 00:30 |
|
the talent deficit posted:go is boring and a dead end imo. it's made too many concessions to convenience to ever be useful as a systems language and it pretends too hard it's a systems language to ever replace something like python or ruby neither rust nor golang can be used to create c libraries, ergo neither one will ever be a serious contender as a systems programming language it's ok not to be useful for systems programming, but you gotta bring something else to the table. scripting languages brought, well, scripting -- no compile step, trivial/stupid deployment. java and .net brought huge, useful libraries and powerful type safety. what the gently caress do rust and golang bring?
|
# ? Dec 29, 2012 16:35 |