lainchan / λ

(untitled)

Milner · 2017-07-12 20:15
What is /λ/'s favorite programming language?(It's not generally allowed to start a thread with a single sentence, such as this, but will be allowed, for now.)
Boris Grishenko · 2017-07-12 21:25
Right now it's probably Scheme. It's just a very simple and pleasant language, and I'm getting very used to writing it so I enjoy it. Also I'm having fun learning Rust right now. However I'm saging this because this thread likely doesn't meet the desired quality standards of lainchan (short OP, no real discussion points).
Unknown · 2017-07-12 23:13
ANSI C89
Vasya Pupkin · 2017-07-13 05:44
>>2295 this
nibble · 2017-07-13 19:59
I'm liking Go since Python has gone off the rails with the new versions
Jens Hansen · 2017-07-13 20:08
Definitely Forth.
Ishikura "Tatsu" Tatsuhiko · 2017-07-13 22:26
Probably Haskell, but I feel quite at home wherever immutability is pleasant to use and the type system is worth its name.
Boole · 2017-07-13 22:35
R7RS Scheme
Incognito · 2017-07-14 00:06
Right now Rust, other than that i think C.
Apoc · 2017-07-14 00:14
>>2316 how come you like go? I've been trying hard to like it, and maybe its because i new to it, but everything seems to be a struggle, even basic things. Also what do you mean about python?
McCarthy · 2017-07-14 00:15
>>2330 What are you struggling with?
Guthrie · 2017-07-14 00:23
>>2288 I love Scheme as well. It's a royal PAIN to work with a lot of the stuff in it (any sort of string stuff is a pain, despite Alex Shinn's best efforts). Chicken, R7RS, and SCSH are all quite nice. Can't stand Racket, though. It just makes things too complicated IMHO.
Bob Arctor · 2017-07-14 00:56
I like Ruby, it was my first language and it's the one I'm most comfortable with, though it's probably not my favourite language. I think Racket is up there, though its (relative) slowness makes it a bit unpleasant to work with. I like OCaml a lot, but I haven't used it enough to say that it's my favourite.
quote · 2017-07-14 02:20
The minimum I need is a compiled language and a scripting language, so Go and Julia are the two compilers I would want on my solar powered laptop if I was stuck on an island
Von Neumann · 2017-07-14 03:00
>>2330 What about it is a struggle? I came from Python, and I found it pretty similar in terms of structure so I think i picked it up easily. Some of the stuff like channels take a little more getting used to, but overall I think it's pretty readable. Python to me is straying away from what made it great. If I had to I could still code in whatever the newest version is, but stuff like adding optional static typing to me is the beginning of the end. I haven't used Python 3 as much as 2.7 though, so it's possible my opinions are wrong. I do see a lot of people moving from Python to Go though. I like Go personally because it's got what I like about Python + what I like about C + it makes asynchronous actions really easy
St. IGNUcius · 2017-07-14 18:13
>>2332 Racket is only as complicated as you make it. I enjoy it because it has lots of nice standard library features. Particularily pattern matching, for loops and contracts. Btw for string stuff there are regular expressions and format strings, and even a lexer generator. If you're talking about macros being too complicated, as someone who is getting paid to work with racket macros I actually agree, racket has extremely powerful macros but at a cost of being a pain when you inevitably dive too deep into them (especially complex behavior with hygiene).
Switch · 2017-07-15 01:23
vvvv, visual programming languages get no love
Molly Millions · 2017-07-15 11:14
>>2351 >as someone who is getting paid to work with racket macros What field do you work in, if you don't mind asking?
Otto Normalverbraucher · 2017-07-16 05:21
I think it is Haskell or C. I like Scheme and Python too.
Rick Deckard · 2017-07-16 06:53
>>2362 Project is combining macros and type systems. Its research at my university, which is probably the most strongly racket-affiliated university. The lab consists of racket hackers and maintainers, and grad students doing various work into types related things.
Cereal Killer · 2017-07-16 08:58
Toss up between bash and clojure. Bash, because it's so damn portable - it's the actual commands you'd be typing into the CLI. For that reason, level 9000. Unfortunately though you can't do too many complex things in bash with the lack of complex types, which leads me to by second favorite language... Clojure, because the LISP syntax is killer and it can run everywhere that has java. Unfortunately Clojure has a heavy startup time...
Erik Johansson · 2017-07-16 11:19
>>2379 >Unfortunately Clojure has a heavy startup time... Yeah this was the reason I stopped writing Clojure (it's not that dramatic, I wrote a few personal projects over 1-2 months then stopped). You can't get away from the fact that it is built on top of Java. Java as a platform has its good points. But it also has its really really bad points.
Roy Batty · 2017-07-16 11:20
>>2377 You mean the stuff about macros as type systems? I saw a lecture about that from the last Racket con, it was pretty interesting.
Faye Valentine · 2017-07-16 12:13
>>2380 Yup, being built on top of Java is both a blessing and a curse. Using the massive Java ecosystem without having to touch Java is very nice albeit very under-documented; once I had to use a library that required extending a class and overriding the overload of one of its methods which apparently wasn't the one being overridden by default, so I had to dig for hours through various forums and SO questions asking about slightly different things and lots of mailing lists and source code. In the end I found a pertinent SO question, which mentioned that this feature of gen-class was documented in at least one mailing list thread. I think it's a great tool if you invest the time to learn how to use it and it's one of the languages I'd like to work the most in for a day job, but the JVM stuff makes me want to search for other stuff for my own projects.
Six · 2017-07-16 14:54
elisp, guile, and bash BASH is a must since it is the basis where you can interact with any GNU/Linux system. elisp to extend my text editor EMACS and GUILE which is an implementation of SCHEME which allows you to also include it into JAVA and C. really useful extensible programming language.
Milner · 2017-07-16 18:08
>>2381 Yep, that one.
Lemon Boi · 2017-07-16 21:11
Im gonna narrow down to 5 because I love a lot of them Python Ruby C PHP Java
Switch · 2017-07-17 06:20
>>2317 Why forth?
qwerty · 2017-07-17 07:16
>>2284 Kind of newish to programming but in order from favorite to least that I can write at least intermediate level code at I would say: 1. Common Lisp 2. Perl 3. Python 3 4. Java
Technician · 2017-07-17 09:57
>>2379 >>2385 But bash is kind of awful as an actual programming language, isn't it? It's not trying to be a programming language, it's trying to be a command line interface for your OS and incidentally is Turing Complete. It's good at being a shell but not at being a programming language, because when you try to write even a low-complexity program it throws you so many curveballs and has so many pitfalls where a thing looks easy to do, but doing itcorrectly is so much more involved than it needs to be. I don't like programming in bash...
pop · 2017-07-17 11:24
>>2409 Yes, bash is a very brittle programming language, it doesn't know whether to be a simple interface for running commands or a full-blown scripting language and it's help back by unix compatibility and, in my opinion, a bit by the base assumption that everything in unix should be a stream of text. Most of the Linux software nowadays uses dbus heavily instead of pipes, and I think that a common representation of a struct and a few basic types like the ones used in dbus and Windows' COM are a better idea than streams of text. It's too bad that dbus is soykaf.
XERXES · 2017-07-17 12:21
How come nobody talks about Smalltalk? I think its design is absolutely beautiful, probably the most coherent I've ever seen, the environment is a bit weird at first but becomes very efficient once you get used to it and it's a nice language overall.
Jean Dupont · 2017-07-17 15:43
Hard to tell, really. Forth, probably, and TECO. TECO is turing complete so yes it counts. Also unlambda.
Hiro Protagonist · 2017-07-17 15:47
>>2411 There's no better or worse. I've noticed that people in Linux tend to say that "The Unix way/philosophy is DED" but that's just because so much of the mainline Linux ecosystem is so leaned towards the Windows-style (actually pioneered by Apple I think) GUI environment. Nothing wrong with that, and dbus wors better in that domain. But Unix still has a place, even in the modern world, it's just that fewer people everytime even know how to use it anymore because GUIs are so pervasive.
Drifter · 2017-07-17 18:40
>>2412 we do https://lainchan.org/%CE%BB/res/791.html
Cowboy · 2017-07-19 16:54
>>2415 You can't be serious
Liet Kynes · 2017-07-19 17:49
Julia is quickly becoming my favourite language. I'm currently writing a basic parser combinor library in it. I love how expressive and dynamic it can be. It lets me make closures whose type signature is chosen at runtime using the arguments of the function that makes the closure, which is really handy if you want to do something like writing a function that parses a grammar specification and returns a parser for that grammar.
Mario Rossi · 2017-07-20 11:42
>>2331 >>2335 To be honest i dont know what i was talking about i think. I stuck with it a little bit, and did some reading and the problems I had are pretty much gone now. It was really just struggling as its a new language not because its bad. Im enjoying writing a small web service in it.
St. IGNUcius · 2017-11-02 13:43
>>2284 probably MoonScript, comfy as hell, indentation can be annoying sometimes though
The Phantom Phreak · 2017-11-02 17:49
>>2464 Same. It doesn't have the expression problem. So it's really fun to have types and interfaces (i.e. functions) for the types, and then extend both the types and interfaces without having to meticulously plan ahead.
nil · 2017-11-02 22:03
>>2409 >>2411 If you think there's no alternative to bash, you need to try the fish shell. All the power of chaining unix programs, without bash's decades of cruft? Yes please!
Unsigned · 2017-11-02 22:16
Lua. It gets overlooked as 'a scripting language for games', but it's really very elegant, waay faster than almost every other 'scripting language', meshes perfectly with C for when you really need performance, and is simple enough that it feels like you can really understand the whole language extremely quickly (everything is a table, more or less). Prototype inheritance is really neat, but lua doesn't really have its' own type system, rather it makes it trivial to write your own. In this respect it feels a little like lisp in that you can shape it into your own patterns, but it has probably the most human friendly syntax of any language. >>4680 Moonscript (which is just a different syntax which compiles into Lua, and adds classes and some other things) is quite nice - it feels like it ties you into its patterns more than Lua, but sometimes too much freedom can be problematic. Just look at the lisp ecosystems. Fortunately in Lua there's usually one fairly obvious, simple and readable way of doing things, so I usually just stick with vanilla Lua. Moonscript seems to have taken off with larger projects that have many devs woking on the same code, which makes sense I guess since they all aught to use the same patterns & styles. (Not a dig at moonscript, that's a great thing). It would be nice if the Lua moonscript compiled into was less ugly, but it's still not too bad to work with.
Zhora · 2017-11-03 00:59
>>2357 is vvvv even a programming language? I thought it was a function. Also visual programming has the stigma of "its not real programming thats for BABIES"
The Fin · 2017-11-03 01:56
Ruby. It's just so much less *work* to work with.
Nell · 2017-11-03 05:49
Although I'm still a noob, Python is my favorite for nothing more than nostalgic reasons. It was the first language I ever wrote any code for and it's simplicity gave me enough confidence to dive deeper into advanced coding. Prior to this, I thought programming was too esoteric and never gave it a shot.
Hong, Guil Dong · 2017-11-03 23:22
>>2415 How can I download my own unlambda nterpereter
typedef · 2017-11-04 01:26
idris - writing programs in it feels so much better than haskell due to the depth you can go with constraints. It's no longer a game of space leaks, badly designed type classes, frail theory, seq, STRef, and the like. Idris feels like a breath of fresh air and writing proofs reduces the number of unit tests required by quite a margin. Just a package manager, stability fixes, optimization, and a decent ecosystem left until it's production ready. Currently using it as a tool to guide production code written in other languages (C#, typescript, &c.) The others I find fun are Haskell, C, and lisp 1.
Moore · 2017-11-04 01:50
>>4744 Thanks for reminding me. I keep meaning to look into it.
Kay · 2017-11-04 02:17
>>4744 Does it have a parser library similar to Haskell's Parsec? If yes, I might use it for a personal project at some point.
Erik Johansson · 2017-11-04 02:48
Perl (5) was my first foray into programming so it has sentimental value and not a lot else for me. I've always had a soft spot for DSLs, smaller languages in general I suppose. Easier to grok, easier to implement and to work through implementations of, less need for compromise so you can focus on doing particular things well. AWK is the good example for me, I love it for all of these reasons mentioned. By definition DSLs are(/should be) limited in scope so when I need everything and the kitchen sink there's Scheme, almost always Chicken (it was my first, good interface with C, interesting implementation choices) though I'm digging deeper into the Racket ecosystem and I play with Chez from time to time. Ruby & Go are two languages that I've spent some time with and enjoy. Wren and ML are two languages that I've not spent enough time with but enjoy. I have a love-hate relationship with C, secretly I have a desire to win the obfuscated C contest but I'm nowhere near good enough.
Technician · 2017-11-05 02:29
>>4754 Where do you stand on Scheme vs Common Lisp?
byte · 2017-11-06 18:30
>>4751 there's lightyear which is what you're looking for but have a look at Text.Parser
Church · 2017-11-06 19:34
Perl. FEED ME YOUR HATRED. Really I'm very language agnostic though. I find that even "fatal" flaws (I'm looking at you no callbacks Java) can often be worked round fairly easily and so in the end it just doesn't matter so much.
Joey · 2017-11-06 20:50
Ruby. Guile, Vala and Crystal look interesting.
Neuromancer · 2017-11-16 22:11
I started working with with Elixir a couple months ago and have been really enjoying it. I had been doing a lot of web dev and specifically React work and was really fed up with the general JS/SPA bloat so Elixir/Phoenix have been refreshing. I built a project in Clojurescript (using reagent) and liked the infrastructure, but couldn't help but feel like I was still way overdoing it on the front end. I do still like working with Clojure though. Otherwise my go-to is python. I've taken a peak at Rust and would love to spend some more time with it.
pop · 2017-11-17 04:56
1. Perl 2. C 3. C++ 4. Rest of them I really fuarrrking hate python programming in perl gives me straight up pleasure C++ is fine C makes me feel like a wizard I know Java only because I want to do build android apps easily I find OOP stupid and a pain to write overall
swap · 2017-11-17 06:28
>>5044 literally this. Maybe not in that particular order. C and Perl are the most fun out of the languages I've tried. Also hate python, can't help it I just do, maybe I'll learn to like it in the future but for now Perl will do the job.
Wikibaus · 2017-11-17 06:41
lisp is master race, but right now I'm loving erlang
Hacker · 2017-11-18 04:20
>>4783 I'm a Schemer for life though if my interests were more practically minded and I really did want "everything and the kitchen sink" then I would likely use CL.
car · 2017-11-24 18:58
I found this image funny.
Yamaoto Toshi · 2017-11-24 22:33
>>5241 who /python/c++/kotlin/rust/java/haskell/go here?
Spooky · 2017-11-24 22:40
>>5243 I'm mostly a C++ / Rust guy. When I need something higher level I'll go for Haskell. This is scarily accurate.
Nobody important · 2017-11-29 12:30
I have a top three: CLisp >functional programming it's fun FORTH >it's beautiful and fast J >best graphics and plots
array · 2017-11-29 12:55
>>5241 I love programming memes.
Project 2501 · 2017-11-29 20:44
>>5334
Ein · 2017-11-29 21:20
Lady 3Jane.. · 2017-11-30 21:31
>>5340 Has this person ever used a programming language
Nanashi No Gombe · 2017-12-01 01:07
>>2412 I love Smalltalk the platform, but not so much the language. I am currently putting together a Smalltalk like environment with web browser front end for f# as I like functional programming and strong types but I also love the ability to prototype on the fly like with small talk. Also love the imaging and versioning capabilities. I just miss vi key bindings and all my other ide tooling... Which is getting stronger with f# due to getting support from jet brains
dr dulitel · 2017-12-03 12:30
>>4703 ain't nmap scripts written in Lua?
Marly Krushkhova · 2017-12-03 14:33
>>5378 Lots of things are scripted with Lua. But that's because it's very easy to interface between C and Lua, not because Lua is a good language.
Hailvim · 2017-12-03 18:42
Mine will be C. It is clearly my favourite language, I love how simple yet flexible it is, it requires you to understand the software and hardware, not the language, which is the point I am stuck the most with C++ (though I have decided I will use what I need from it, I am not going to learn it all). I also love Assembly to play around and feel like I am doing some retro soykaf. I always use Lua for small utilities, I really don't understand why people find it a joke. It may have it's quirks, but it was created to be easy, lightweight and flexible, it does indeed succeed at that (plus there is LuaJIT if you do not interface a lot with C). I love working in R (I'm paying my degree by writing it). I hate programming with it anything that goes slightly out of it's scope. As someone once quote "What makes R great is that it was written by statisticians, what makes R horrible is that it _was_ written by statisticians". I will always defend "Use the right tool for the right job", I do believe there is not a one programming language to rule them all thingy. I find Julia will make me stop using Matlab once for all. I love it all the way down. But Matlab sadly will stay for a while. I would recommend anyone to try it. Haskell is also very neat, my choice for a functional programming language. But I may need to try Ocaml and some others, lain seems to bring them up as great languages that one should give a try when functional principles are wanted. Finally CL (SBCL) and Guile, what can I say? They are just great. Right now I am learning Rust and I am slowly falling in love with it. Yes, the community is one of the most... distasteful ones out there, however, the language is pretty good. And I would like if the Rust people stopped releasing a new version every six weeks, that goes to show that there is still some work that needs to be done urgently~, though I haven't gone deep enough. I was going to start learning~ PHP, but I'll ditch it in favour of Go, it is getting quite some praise, it is compiled yet it has a REPL and is backed by some tech giants.
Nanashi No Gombe · 2017-12-03 18:58
C will probably always be my favorite language, for the reasons you'd expect. I use it for everything from high performance math libraries to little utility scripts. >>5379 i love the performance i can get with C but i've been looking for a language to let me easily roll up a script interface for my C libraries that takes care of the annoying stuff (string/file parsing, interactivity, etc). python has been my go-to, now i'm moving toward julia but lua seems worth a look too.
John Doe · 2017-12-04 17:52
I've come to like Elixir more than any other. It's just so simple and I can apply all of my haskell/idris knowledge directly (with a few things being different). It's also much easier to teach others how it works thanks to both syntax (ruby) and the objects are processes model (erlang). I might even switch my main server over to it if phoenix proves to be easier to maintain than yesod since there's really no heavy computation behind it.
Dox · 2017-12-04 19:10
perl 5 for lyfe
Hagbard Celine · 2017-12-06 01:31
>>5381 What's wrong with rust's community? I don't use rust or read about it but I'm curious.
Torvalds · 2017-12-06 06:19
>>5429 It's perfectly fine, but some of its members can be really hard zealots and claim that it is the panacea that solves everything, to the point of using it for quick scripts. Then there's the odd community member who is really left wing. Doesn't really show in the actual Rust spaces since those tend to be more on topic, but the description in >>5241 is accurate.
Random · 2017-12-08 01:57
>>5382 >i've been looking for a language to let me easily roll up a script interface for my C libraries that takes care of the annoying stuff (string/file parsing, interactivity, etc) Try this: https://dlang.org/rdmd.html D can interface with C, and it's a joy to work with.
Joey · 2018-01-30 12:31
Not sure; Scheme/Racket, C or Haskell
Leto Atreides I · 2018-01-30 20:51
Definitely C. I've always liked the raw control you get over the hardware and - although it get's some hate - I think the syntax is really aesthetically pleasing. I have some other loves like Haskell, but almost all of my personal projects are in C.
Neuromancer · 2018-01-31 14:39
>>5429 Well, it was originally made by mozilla one of the major pushers of SJW culture in tech and a major AntiFa enabler. Rust is now a community project but the community is still a leftover of the mozilla era.
Spike Spiegel · 2018-01-31 17:00
>>6499 > riseup is terrorist organization because they offer free email service Good grief.
Yet Another Lainon · 2018-01-31 17:49
>>6499 that image is fuarrrking hilarious
SHODAN · 2018-01-31 18:05
>>2284 I don't have that much knowledge on those matters but mine would certainly be Haskell, and then C/C++. I love Haskell because it's functional and its syntax is really, really simple, allowing you to think directly about the numerous new concepts you have to learn when you discover it. Mutable states are something i've grown to strongly dislike in higher-level languages, but I do think that the simplicity of C (and to a lesser extent, C++) really makes it the best and most straight-forward kinda-low level language when you actually know what you're doing.
J.C. Denton · 2018-01-31 18:14
Haskell is the most fun I've had in any language, too bad that's all it is, a toy language.
Anamika · 2018-01-31 20:52
>>6499 >mozilla one of the major pushers of SJW culture in tech and a major AntiFa enabler. I think Mozilla is politically left leaning but your infographic is so ridiculous it undermines your point. If Riseup didn't exist then antifa would get their email somewhere else. They're not enabling soykaf and Mozilla isn't sponsoring "terrorism" by any stretch.
quote · 2018-02-01 00:10
>>6503 That image is a little far, but their about page says this >We do this by providing communication and computer resources to allies engaged in struggles against capitalism and other forms of oppression. They are fuarrrking communists and the fact that Mozilla is giving them money is appalling
Hitomi · 2018-02-01 00:24
>>6517 > They are fuarrrking communists Riseup are anarchists. Either way, they certainly aren't a terrorist organization (not anymore than Google is because ISIS uses them). People who communicate with infographics never seem to know what they're talking about.
DEBUG-CONTENTS · 2018-02-01 09:29
>>6517 >They are fuarrrking communists and the fact that Mozilla is giving them money is appalling The world is deeper than just capitalism vs communism. Try reading a book or something. fuarrrking americans