|
Malcolm XML posted:can u explain why elixir is bad, or is not bad? i have to rescue a garbage node app and am considering it Elixir is bad because: I don't like how they take things I believe are right in Erlang and then change them: single assignment, minimalist syntax, lack of powerful macros (I like them in personal projects, but not team work), standard tooling that disregarded OTP stuff and makes it hard to interact with, ambiguous syntax (especially around pipes and parens-free function calls). Like if you ask me to fix Elixir, I'll undo these and you'll end up with Erlang, mostly. I have no proof, but my theory is that for a newcomer who has never done functional programming, functional languages should look different in order to feel different because they are different. The challenges and costs of operations aren't the same everywhere. Elixir looks like Ruby, and my sub-theory is that Ruby people don't mind because Ruby is so god damned slow that even if they program Elixir wrong, it's likely gonna be faster than Ruby any way, and Elixir is inhabited by ex-Rails devs looking for something better than their abysmally slow stack. Lastly, for me there's no visible advantage to using Elixir because: a) I have an Erlang job b) I like Erlang better c) Elixir doesn't bring a lot of new stuff to the table and therefore doesn't justify the cost of me switching. The next language I learn should be different so I can learn stuff from a different problem space, not similar so I can learn a vastly similar way to do stuff I already do. I'm unlikely to switch personally. Elixir is good because: I like it and the underlying model better than whatever node.js or Go do. If I had to pick any language between these four, I'd pick Erlang first. If I had to pick anything else, I'd go for Elixir. Probably I,d order them Erlang > Elixir > Go > node.js (or any javascript). If I were working on web stuff only, shuttling CRUD stuff between templates and a DB on a team, I'd probably take a look at Elixir and Phoenix. The Erlang community has literal web development retardation (in that the state of the art of web frameworks in Erlang is often hobby level in other communities) I'd rather live in a world full of ex-rubyist elixirites than one full of golang nuts. If there's no chance you can sell your people on Erlang, sell them on Elixir. MononcQc fucked around with this message at 20:23 on Dec 10, 2015 |
# ? Dec 10, 2015 20:21 |
|
|
# ? May 9, 2024 03:22 |
|
as far as i'm concerned elixir is already ruined because the community is full of the same dsl jerkoffs who made ruby/rails bad in the first place http://www.phoenixframework.org/docs/routing this poo poo is no better than any ruby framework aside from the fact that it can actually handle concurrency edit/addendum: not that ruby was ever that great in the first place, but at least by itself it's an okay scripting language if you don't abuse it triple sulk fucked around with this message at 20:48 on Dec 10, 2015 |
# ? Dec 10, 2015 20:45 |
|
Xarn posted:I am p. sure its a gimmick. hi i don't use syntax highlighting
|
# ? Dec 10, 2015 21:20 |
|
i am only beginning to reconsider now that ruby's syntax errors are so atrocious that when i do gently caress up it's a nightmare to find and make the effort to change an editor setting
|
# ? Dec 10, 2015 21:21 |
|
tef posted:hi i don't use syntax highlighting not even for comments?! that's like deliberately clubbing yourself in the balls all the time you're working
|
# ? Dec 10, 2015 21:25 |
|
MononcQc posted:Elixir is bad because: yeah unfortunately selling peeps on erlang is off the cards, primarily due to the prolog syntax. that said any language short of haskell is not particularly minimal so im ok to move from js to something like elixir. yeah given that the apps are database skins im ok with railsisms triple sulk posted:as far as i'm concerned elixir is already ruined because the community is full of the same dsl jerkoffs who made ruby/rails bad in the first place dsls are ok if you have macro expansion features. not sure i like the prevalence tho
|
# ? Dec 10, 2015 21:37 |
|
MononcQc posted:lack of powerful macros (I like them in personal projects, but not team work) I don't even like them in personal projects. Macros are the worst decision language designers can make. It's also the single biggest thing I'm disappointed with Rust about. As far as I can tell, people get enamored with the idea that a program is just a data structure and you can manipulate it! (Which, granted, is loving awesome and why I went into pl/compilers.) But then they turn off their brains when it comes to all the downsides to macros. It's not just teams that make macros bad, it's also the way they destroy all your helpful tools and generally just make everything complicated for no gain. (Really no gain, because you can do everything people use macros for better in some other way.) quote:I'd rather live in a world full of ex-rubyist elixirites than one full of golang nuts. idk. Go strikes me as a language designed by people with some stupid opinions, but actually manages to serve a niche and is used by plenty of reasonable people. I've seen people build reasonably good projects with Go, despite its shortcomings. I'd take that over the usual rubyist stereotype any day.
|
# ? Dec 10, 2015 21:42 |
|
Shaggar posted:has there been anyone who's tried the current asp.net web stack and hasn't converted? what is the current asp.net web stack? if i'm an idiot who hasn't used asp.net yet (which i am), where do i start?
|
# ? Dec 10, 2015 21:43 |
|
crazypenguin posted:I don't even like them in personal projects. Macros are the worst decision language designers can make. yeah i rly dislike macros even w/ macro-expand since its basically an excuse to go hogwild making GBS threads up dumb features
|
# ? Dec 10, 2015 22:01 |
|
CommunistPancake posted:what is the current asp.net web stack? if i'm an idiot who hasn't used asp.net yet (which i am), where do i start? http://www.asp.net/ install vs community 2015 and play around. a fun and easy demo project is to create a web chat using MVC for the UI and then SignalR for the realtime chat.
|
# ? Dec 10, 2015 22:04 |
|
CommunistPancake posted:what is the current asp.net web stack? if i'm an idiot who hasn't used asp.net yet (which i am), where do i start? Look at mvc 5 http://www.asp.net/mvc/overview/getting-started/introduction/getting-started
|
# ? Dec 10, 2015 22:04 |
|
MononcQc posted:Elixir is bad because: counterpoint: code:
in elixir this is pretty much exactly what you expect. in erlang it's a bottomless pit of horrors
|
# ? Dec 10, 2015 22:11 |
|
Emacs Headroom posted:ive heard that .net stacks are common in finance. do you work in finance? the only tech place I know with a .net stack is zocdoc, and they were started by ex-finance people, ha
|
# ? Dec 10, 2015 23:30 |
|
Malcolm XML posted:yeah unfortunately selling peeps on erlang is off the cards, primarily due to the prolog syntax. my take, as someone who is learning both (but very very early on): the really important defining features of erlang are the VM and OTP. The VM enables all the cool concurrency / error handling / distribution stuff, and OTP, which informs the design of basically every worthwhile library. both of those things are fully accessible to someone learning elixir, and both of them are embraced by the community. libs built in either language can be called from the other, and since they both use OTP design, they are functionally compatible as well. the only really important difference between erlang and elixir, as far as I'm aware, is the syntax. i agree with monoqc about elixir's syntax being really ambiguous at times. It's got some really bad poo poo in there. But it has some good poo poo too and it is much nicer to learn than erlang. My biggest complaint about elixir is the tutorials don't do a very good job of introducing OTP. What I did was blast through the elixir tutorial up to the point where they start introducing OTP (so, basically all the syntax stuff) and then jump over to Learn You Some Erlang when I was comfortable with writing programs in elixir and wanted to learn how to really leverage the platform. Despite the fact that I've done 100% of my coding in elixir, I've had absolutely no problem following along with LYSE. Everything fits together just fine. I'm definitely going to make the transition to mostly Erlang eventually, but for now elixir is suiting my needs very well.
|
# ? Dec 11, 2015 00:20 |
|
Destroyenator posted:.net is one of the best stacks if you can deploy to azure paas offerings or have people who care enough (and you trust) to maintain windows servers. luckily lots of enterprise shops do actively maintain windows server installs and startups can use azure easily so there's lots you can do in that space. hopefully the next asp (due in q1) will make mono a viable option. was just glancing through the documentation on azure; didn't realize it supported hadoop and spark and all that is there an equivalent to kafka and storm for queuing / streaming events?
|
# ? Dec 11, 2015 00:28 |
|
Emacs Headroom posted:was just glancing through the documentation on azure; didn't realize it supported hadoop and spark and all that MALE SHOEGAZE posted:my take, as someone who is learning both (but very very early on): cool as long as I can get that sweet sweet genserver in my Lang I'm ok I agree the ambiguity is kind of rear end still better than Haskell where nothing is ambiguous but ends up having 9 loving type params I'm looking at you lens e: iirc you have to hack up something in azure queues or service bus (lol) I think they were working on something involving storm but u can always host it yourself
|
# ? Dec 11, 2015 01:15 |
|
i started hacking together some changes to pipe syntax so that you can at least specify how you want to compose things, something like,code:
some stones are best left unturned
|
# ? Dec 11, 2015 01:38 |
|
MALE SHOEGAZE posted:i started hacking together some changes to pipe syntax so that you can at least specify how you want to compose things, something like,
|
# ? Dec 11, 2015 02:17 |
|
In the first few papers of my BS CS (from a top 50 private university) we used IDEs with syntax highlighting. however as the courses became more advanced i started using a hammer to alternate between hitting my head and my nutsack
|
# ? Dec 11, 2015 04:19 |
|
Shaggar posted:people pop up here every now and then touting their latest fad lang but lots of them get shamed into leaving and/or embrace the light of c#/java. the fact that rjmcall is a swift dev is more comforting than it probably should be. there's a quiet comfort in knowing your lang-of-choice is maintained by a yos-poster, though. ultramiraculous fucked around with this message at 07:14 on Dec 11, 2015 |
# ? Dec 11, 2015 07:11 |
|
bobbilljim posted:In the first few papers of my BS CS (from a top 50 private university) we used IDEs with syntax highlighting. however as the courses became more advanced i started using a hammer to alternate between hitting my head and my nutsack rob pike says "text me"
|
# ? Dec 11, 2015 07:46 |
|
Emacs Headroom posted:was just glancing through the documentation on azure; didn't realize it supported hadoop and spark and all that
|
# ? Dec 11, 2015 08:26 |
|
ultramiraculous posted:the fact that rjmcall is a swift dev is more comforting than it probably should be. there's a quiet comfort in knowing your lang-of-choice is maintained by a yos-poster, though. swift is basically c#, by apple, though
|
# ? Dec 11, 2015 08:39 |
|
ultramiraculous posted:the fact that rjmcall is a swift dev is more comforting than it probably should be. there's a quiet comfort in knowing your lang-of-choice is maintained by a yos-poster, though.
|
# ? Dec 11, 2015 08:46 |
|
python's had two goons at the very least, i know a golang dev who lurks here too. yospos gets everywhere i guess
|
# ? Dec 11, 2015 10:28 |
|
Soricidus posted:not even for comments?! it's just been so long using editors on other people's machines, remote machines, that setting up an editor to be perfect for me means some effort and pain. i'm a computer janitor who ended up doing coding, so uh this whole "gaming rig" approach to text editors just passed me by
|
# ? Dec 11, 2015 10:37 |
|
this is me https://www.youtube.com/watch?v=3vAnuBtyEYE
|
# ? Dec 11, 2015 10:40 |
|
crazypenguin posted:I don't even like them in personal projects. Macros are the worst decision language designers can make. Thankfully C++ fixed the reliance on defines by introducing the wonderfully elegant world of templates. Now, if THEY break the error messages are...well, let's add concepts to the language to improve the error messages, etc. *rabbit hole sprung*
|
# ? Dec 11, 2015 10:58 |
|
tef posted:python's had two goons at the very least, i know a golang dev who lurks here too. yospos gets everywhere i guess im part of the elm-dev mailing list and contribute a bit to the elm core libraries, but im an idiot and not many people use elm
|
# ? Dec 11, 2015 11:16 |
|
crazypenguin posted:
the recent things of using toml and markdown also irk ~my aesthetics~. on the other hand, rust seems to be driven by servo, and that's neat. but for the sort of programs i tend to write: glue some heavy lifting in C together to work over a cluster of machines, rust feels like a little bit to heavyweight for me. i'm not the target audience. the thing is, i like ref counting and gc over manually explaining ownership and lifetimes to the borrow checker. but i really, really don't like toml. it looks like rust literally picked a format that people use because it was on the front page of hacker news. (although i'm informed they picked it over writing a new ad-hoc one, even if they had to convince the author to fix the language https://github.com/toml-lang/toml/pull/283 ) i too look forward to a new special make file, written in toml and yes markdown, so that's likely another markdown variant too quote:I don't even like them in personal projects. Macros are the worst decision language designers can make. macros can be used to make code easier to read, theoretically, but usually they seem to be "be your own rasmus" in terms of language features, and optimised for making the code simple to write. i guess i'm sounding like rob pike with the whole "why do you have to put everything on one line" etc, quote:idk. Go strikes me as a language designed by people with some stupid opinions, but actually manages to serve a niche and is used by plenty of reasonable people. I've seen people build reasonably good projects with Go, despite its shortcomings. if i needed to write a cross platform command line program with a small footprint, go is pretty good for that.
|
# ? Dec 11, 2015 11:47 |
|
fart simpson posted:im part of the elm-dev mailing list and contribute a bit to the elm core libraries, but im an idiot and not many people use elm i've never contributed any code of meaning or value
|
# ? Dec 11, 2015 11:48 |
|
I submitted a bug report to ghc once when the compiler asked me to
|
# ? Dec 11, 2015 11:52 |
|
I fixed a super trivial thing on python once got my name in the contributors.txt
|
# ? Dec 11, 2015 12:33 |
|
tef posted:i've never contributed any code of meaning or value ok i did write something bad that ended up being used by archive.org but i think someone else wrote a better one
|
# ? Dec 11, 2015 12:49 |
|
tef posted:ok i did write something bad that ended up being used by archive.org but i think someone else wrote a better one didn't you contribute to the ruby parser and talked to matz and stuff? or were you just studying it?
|
# ? Dec 11, 2015 12:55 |
|
fart simpson posted:im part of the elm-dev mailing list and contribute a bit to the elm core libraries, but im an idiot and not many people use elm i have a single commit in crystal but it does actually change the syntax of the language so that's cool
|
# ? Dec 11, 2015 14:51 |
|
fart simpson posted:im part of the elm-dev mailing list and contribute a bit to the elm core libraries, but im an idiot and not many people use elm i use and love elm. your work is much appreciated i'm in the erlang contributors.txt for telling them they handled unicode noncharacters wrong and having the patch i submitted completely rewritten
|
# ? Dec 11, 2015 15:37 |
|
I patched the OTP supervisor once, and also the Erlang SSL library to be able to ignore forms of client-initiated renegotiation.
|
# ? Dec 11, 2015 15:47 |
|
I've written so many library functions nobody will ever see. Enterprise . Hypothetically I'm an application developer, but inevitably I always bump up against some foundational API that's just super dumb and wrong and end up rewriting a bunch of shared library code before I carry on with whatever end-user bauble I was working on.
|
# ? Dec 11, 2015 16:39 |
|
|
# ? May 9, 2024 03:22 |
|
yeah, internal APIs are even worse than external APIs. it's the major fault with soa.
|
# ? Dec 11, 2015 17:01 |