|
perl is pretty good, so is python and javascript. java is fine. c# is better. c is best tho
|
# ? Sep 6, 2012 20:12 |
|
|
# ? May 9, 2024 02:27 |
|
syntaxrigger posted:SHAGGAR ALT ACCOUNT SPOTTED!! hey now, while i do enjoy languages that don't begin with p and aren't used by web "developers" i'm also a noted mac enthusiast. plus, our dbs at work are oracle. rotor posted:c is best tho my c is super rusty but i probably learned more about computing from c than 80% of my college classes Shark Sandwich fucked around with this message at 20:15 on Sep 6, 2012 |
# ? Sep 6, 2012 20:13 |
|
rotor posted:perl is pretty good, so is python and javascript. java is fine. c# is better. c's p cool and important but if you're coding in c in 2012 you have either absolute or zero job security, theres no middle ground
|
# ? Sep 6, 2012 20:14 |
|
mjs6643 posted:hey now, while i do enjoy languages that don't begin with p and aren't used by web "developers" i'm also a noted mac enthusiast. plus, our dbs at work are oracle. uh oracle dbs are good
|
# ? Sep 6, 2012 20:17 |
|
i know, was just saying i'm not an mssql zealot
|
# ? Sep 6, 2012 20:18 |
|
mjs6643 posted:hey now, while i do enjoy languages that don't begin with p and aren't used by web "developers" i'm also a noted mac enthusiast. plus, our dbs at work are oracle. a likely story...
|
# ? Sep 6, 2012 20:22 |
|
tef posted:for me, more clevery type thingys like generics seem to add type safety at the expense of simplicity. Because Python's dispatch system is so simple?
|
# ? Sep 6, 2012 20:26 |
|
as meta object protocols go, it's pretty nice - overriding behaviour at the class, instance and attribute level. descriptors are neat. working on attribute access rather than message passing leads to easier lexical scope capturing, as well as functions/methods you can pass around too. the smalltalk way doesn't seem as nice, unless you like method calls a lot and hate functions. thing is, it is pretty much behind the scenes for most python programmers. generics and their ilk, programmers have to deal with them to use them. you don't really need to understand descriptors to use @property, @classmethod or @staticmethod. tef fucked around with this message at 20:33 on Sep 6, 2012 |
# ? Sep 6, 2012 20:29 |
|
really i'd just like traits over class inheritance easily, and mutable at runtime. yes yes moose yes ps. if someone tells you the answer is 'perl6' what they mean to say is 'go gently caress yourself'
|
# ? Sep 6, 2012 20:31 |
|
tef posted:really i'd just like traits over class inheritance easily, and mutable at runtime. sounds like you want php
|
# ? Sep 6, 2012 20:37 |
|
also ruby is this weird lisp-2 thing, where methods and variables live in different places. so, x=foo.bar; x() this is a method call on foo and a method call on self, x if you wanted to pass around the bar method, you have to do: x=foo.method(:bar); x.call; I find this scoping weird. also you get weird things like 'self' in ruby, too i.e class << self def method end end meanwhile in python, you can pass around methods and functions and call them. sorted(..., key=len). because self is just another variable, you don't get into var this=that territory. it's actually quite nice
|
# ? Sep 6, 2012 20:41 |
|
groovy and clojure (and xml, goddamnit) are my goto's on the jvm, hard to beat the flexibility of those two plus all the enterprisey bullshit like maven ruby and bash for programming-lite scripty throwaway bullshit (like writing php for me)
|
# ? Sep 6, 2012 20:42 |
|
the jvm, for turning other languages into java stack traces
|
# ? Sep 6, 2012 20:47 |
|
NO gently caress YOU DAD IT'S A REAL LANGUAGE I DON'T CARE THAT THE ERROR MESSAGES ARE IN ANOTHER
|
# ? Sep 6, 2012 20:47 |
|
c.f ruby “dsls”
|
# ? Sep 6, 2012 20:48 |
|
eh i know the whole thing so goddamn well at this point it doesn't matter, it's like looking at the matrics
|
# ? Sep 6, 2012 20:48 |
|
also it's really not hard to find out where you hosed up with a stacktrace, and you don't really see too many in either because they don't have checked exceptions
|
# ? Sep 6, 2012 20:50 |
|
java is quite bad scala course starting up soon cherry blossoms fall though java is crap i'm not a clojure wanker subtly winter arrives
|
# ? Sep 6, 2012 20:55 |
|
tiny bug child overposting broken haiku php supremacy
|
# ? Sep 6, 2012 21:00 |
|
i dont really know a lot about the subject, but implementing a DSL seems like great job security and really not much else
|
# ? Sep 6, 2012 21:04 |
|
rotor posted:i dont really know a lot about the subject, but implementing a DSL seems like great job security and really not much else depends on how far you go. anyone who pretends writing a dsl is some panacea to let business fags write code is going to fail if you write a dsl to give names and leverage to common patterns in your code then why the gently caress not write code that writes itself for you?
|
# ? Sep 6, 2012 21:10 |
|
trex eaterofcadrs posted:depends on how far you go. anyone who pretends writing a dsl is some panacea to let business fags write code is going to fail prograaaaaams programs that write prograaaaaaams are the happiest prograaaaaams of aaaaallll
|
# ? Sep 6, 2012 21:12 |
|
training up new programmers on 100k+ lines of complex OO-scripting featuring multiple inheritance, mixins, autoloading routines and other gremlins to haunt your dreams, constructs which one has to trace the source for days at a time to understand because no IDE has a hope in hell of parsing this loving mess... suddenly this DSL stuff sounds like a vacation. yeah im programming in a language with nonsense typing because im a cool dude who can juggle all the types in my head unlike those idiots writing in static (lol) languages who needs lame IDE help (unless you're talking about code i didn't write then all bets are off clearly this stuff was written by a bad i need to rewrite it for it to be understandable arghblabhghghghgg) join the clojure supremacy circlejerk plenty of spots free
|
# ? Sep 6, 2012 21:21 |
|
well of course homoiconic languages are the most happy ones
|
# ? Sep 6, 2012 21:21 |
|
trex eaterofcadrs posted:well of course homoiconic languages are the most happy ones rules out javascript because their icon hates homos
|
# ? Sep 6, 2012 21:24 |
|
trex eaterofcadrs posted:well of course homoiconic languages are the most happy ones this joke reaped a rich harvest of laffs from yours truly
|
# ? Sep 6, 2012 21:26 |
|
|
# ? Sep 6, 2012 22:05 |
|
Jonny 290 posted:c's p cool and important but if you're coding in c in 2012 you have either absolute or zero job security, theres no middle ground
|
# ? Sep 6, 2012 22:53 |
|
tef posted:NO gently caress YOU DAD IT'S A REAL LANGUAGE I DON'T CARE THAT THE ERROR MESSAGES ARE IN ANOTHER e: i'll post the rant if anyones interested Gazpacho fucked around with this message at 23:03 on Sep 6, 2012 |
# ? Sep 6, 2012 23:01 |
|
why php is bad because it smell bad the end
|
# ? Sep 6, 2012 23:34 |
|
i think i've seen enough php rants
|
# ? Sep 6, 2012 23:35 |
|
lol groovy looked at an example briefly, went "that's simple, I got this" and produced this elegant piece of code: code:
the correct code was: code:
|
# ? Sep 6, 2012 23:41 |
|
tef posted:basically I thought godël escher bach was a wanky book I feel it wouldn't have sounded so wanky if people weren't touting it as work of genius every now and then. I found it to be an entertaining read where the author tries to find as many examples of his things as possible, not merely trying to prove them. The book itself could likely be held in around 50 pages if it was straight to the point. tef posted:for me, more clevery type thingys like generics seem to add type safety at the expense of simplicity. I won't be dissing the Erlang approach any day soon. To define types however, you have two approaches:
For correctness, it's arguable that you don't need them for all types of programs, but for expressiveness, there's something especially nice about them. On the lower level, they act like tuples, or tags around values to clarify them, and their behaviour ends up similar to what you mention about pre/post conditions. The compiler basically evaluates what it can before runtime (and for correctness, denies unprovable/evaluable tags). You can get a lot of this done currently with a couple of languages with enough flexibility. Someone posted a blog post on the topic (applied to Common Lisp) today, and it's an interesting take on it.
|
# ? Sep 7, 2012 01:35 |
|
pushcorn heh
|
# ? Sep 7, 2012 01:45 |
|
CaptainMeatpants posted:i've never had to write java without android being involved so for all i know it could very well be a decent experience it's worse
|
# ? Sep 7, 2012 02:24 |
|
tef posted:yep java is type safe alright don't forget Generics.
|
# ? Sep 7, 2012 02:27 |
|
what's the difference between a programming language and a DSL/toy language a programming language has a debugger god loving help you if you have to debug a toy language (i.e. use a toy language)
|
# ? Sep 7, 2012 02:52 |
|
dick sucking lips
|
# ? Sep 7, 2012 02:53 |
|
Mr Dog posted:what's the difference between a programming language and a DSL/toy language i prove correctness of all programs i write in functional languages so why would i need a debugger?
|
# ? Sep 7, 2012 02:53 |
|
|
# ? May 9, 2024 02:27 |
|
Mr Dog posted:what's the difference between a programming language and a DSL/toy language general vs. domain specific. ain't no debugging that's as simple and universal as printing text. also some languages do better with tracing than debuggers, especially languages used in time sensitive or distributed/parallel/concurrent scenarios, where debuggers are enough to gently caress things up and make things worse.
|
# ? Sep 7, 2012 03:06 |