|
Cybernetic Vermin posted:ruby-style everything-is-an-object you can mess with is sort of the perfect example of an emerson-type foolish consistency primitive types gently caress yeah unironically primitive types are the backbone of high performance code
|
# ? Feb 27, 2014 18:54 |
|
|
# ? Jun 3, 2024 23:50 |
|
Kevin Mitnick P.E. posted:oh gently caress paul graham was right. this is a blub post id never heard of this quote:Our hypothetical Blub programmer wouldn't use either [Cobol or assembly]. Of course he wouldn't program in machine language. That's what compilers are for. And as for Cobol, he doesn't know how anyone can get anything done with it. It doesn't even have x (Blub feature of your choice). wow. that's a spectacular final paragraph. it must really take some doing to make a point and then miss it yourself so completely
|
# ? Feb 27, 2014 18:57 |
|
Cybernetic Vermin posted:ruby-style everything-is-an-object you can mess with is sort of the perfect example of an emerson-type foolish consistency makes sense in a plang imo not having to think about stuff is what plangs do well not running fast is another thing plangs do well but lol if you're using a plang where performance matters
|
# ? Feb 27, 2014 18:59 |
|
can you expand upon your earlier zinger re: jane street btw
|
# ? Feb 27, 2014 19:05 |
|
coffeetable posted:id never heard of this yeah blub is actually a good essay right until he ends it with 'except lisp which is OBVIOUSLY the most powerful language ever'
|
# ? Feb 27, 2014 19:07 |
|
there will be no combination of language and framework where every fully-featured program one can desire will be expressible in one line. and beyond a certain point terseness comes at the expense of not just flexibilty and efficiency but also clarity. that and i really hate the sort of insecure wankers who just have to do things in the cleverest way possible. do it the stupidest possible way that still gets things done in a reasonable amount of time and stop loving showing off.
|
# ? Feb 27, 2014 19:28 |
|
programmers just tend to be too clever for their own good. no you dont need to write a script for this, just type it in by hand in five minutes. suck it up and do some 10-key
|
# ? Feb 27, 2014 19:37 |
|
vOv posted:yeah blub is actually a good essay right until he ends it with 'except lisp which is OBVIOUSLY the most powerful language ever' I think it's a wonderfully apt demonstration of how there isn't any one thing LISP can teach someone, just things one can learn from LISP. What is to be learned here is that what looks like a straight-line continuum of lower to higher level programming languages from one person's viewpoint is not at all a straight line when many people are considered together. Rather than a line it's more like a circle. Only once someone has internalized this lesson can they fully appreciate that what all these PLs are circled around is ... Java
|
# ? Feb 27, 2014 19:39 |
|
for real one of the things i like about java is that its hard to be excessively clever
|
# ? Feb 27, 2014 19:39 |
|
yeah that's one of its best features and also why those people hate it so much
|
# ? Feb 27, 2014 19:41 |
|
the proliferation of compilers to JS pretty much validates a CS essay I saw years ago that said any platform based on continuations is destined to be replaced by higher-level tools that perform the CPS transformation automatically, trusting humans to write continuations by hand is nuts
|
# ? Feb 27, 2014 19:41 |
|
its so great because if someone does java and c# you know they're probably pretty good, but if they do a p-lang and then maybe also c# you know they're gonna have some toxic habits
|
# ? Feb 27, 2014 19:42 |
|
Kevin Mitnick P.E. posted:for real one of the things i like about java is that its hard to be excessively clever
|
# ? Feb 27, 2014 20:03 |
|
i do kinda want to dick around with c++11 a bit but i do recognise it for the evil it represents and i'm not going to actually ship poo poo written in that language really looking forward to rust 1.0 tho
|
# ? Feb 27, 2014 20:04 |
|
Mr Dog posted:i do kinda want to dick around with c++11 a bit but i do recognise it for the evil it represents and i'm not going to actually ship poo poo written in that language ya worst part of rust is waiting til it stabilizes
|
# ? Feb 27, 2014 20:07 |
|
Otto Skorzeny posted:can you expand upon your earlier zinger re: jane street btw he doesn't have one besides "they didn't hire me"
|
# ? Feb 27, 2014 22:25 |
|
I welcome javascript on the server-side the way I welcomed java applets in the browser side.
|
# ? Feb 27, 2014 22:29 |
|
MononcQc posted:I welcome javascript on the server-side the way I welcomed java applets in the browser side. with a shotgun aimed at your monitor?
|
# ? Feb 27, 2014 22:37 |
elixir is the future imo
|
|
# ? Feb 27, 2014 23:12 |
|
Kevin Mitnick P.E. posted:oh gently caress paul graham was right. this is a blub post smuggo spotted
|
# ? Feb 28, 2014 00:45 |
|
hepatizon posted:for reasons other than syntactical ambiguity? bundler, rails, gems, pretty much everything i've used to maintain a rails website (ask me about inheriting bad code when working at a non profit)
|
# ? Feb 28, 2014 00:46 |
|
Kevin Mitnick P.E. posted:primitive types gently caress yeah gotta go fast
|
# ? Feb 28, 2014 00:46 |
|
double sulk posted:elixir is the future imo At least until you decide something else is the future
|
# ? Feb 28, 2014 00:47 |
|
vOv posted:yeah blub is actually a good essay right until he ends it with 'except lisp which is OBVIOUSLY the most powerful language ever' his essay serves as an example of a point he fails to grasp, so i guess there's some usefulness by accident lisp users are generally intolerable assholes, or at least the highest correlation. the naggum effect
|
# ? Feb 28, 2014 00:48 |
|
Kevin Mitnick P.E. posted:for real one of the things i like about java is that its hard to be excessively clever having a high bar for cleverness, means you get mediocre code and impossible code with little in-between
|
# ? Feb 28, 2014 00:50 |
|
java could have been a lot better at letting you write stupid code if you didn't have to do defensive copying
|
# ? Feb 28, 2014 00:58 |
|
one person's cleverness is another person's competence
|
# ? Feb 28, 2014 02:35 |
|
C# keeps getting more awesome: http://coolthingoftheday.blogspot.co.uk/2014/02/for-c-aka-c-might-be-getting-object.html enjoy yore toy languages though
|
# ? Feb 28, 2014 02:45 |
|
qwerasdf posted:C# keeps getting more awesome: monads
|
# ? Feb 28, 2014 02:49 |
|
tef posted:gotta go fast some people have latency targets they can't hit by doing multiple hash lookups per integer operation
|
# ? Feb 28, 2014 03:21 |
|
tef posted:having a high bar for cleverness, means you get mediocre code and impossible code with little in-between sometimes both at once. but not being clever is the path of least resistance
|
# ? Feb 28, 2014 03:26 |
|
Damiya posted:i may be a 6'6" trans non-passing gay woman but gently caress me if you think i'd make the kind of terrible rear end life choices that would lead to debugging PHP in production this may be the best post anyone has ever made in this thread
|
# ? Feb 28, 2014 04:38 |
|
Otto Skorzeny posted:snack overflow mods omg please
|
# ? Feb 28, 2014 04:38 |
|
professors tell students to look it up on stackoverflow now but all i can think about is heft fatwood of snack overflow
|
# ? Feb 28, 2014 05:11 |
|
i'm glad after a few pages of monad talk, we're back to lolplang lolC# loljabba
|
# ? Feb 28, 2014 05:17 |
|
write programs for fun and profit
|
# ? Feb 28, 2014 08:15 |
|
I'm writing a paper comparing C99, Java7 and Haskell for dynamic prog stuff. I'm doing a 1k word extended abstract and wanted a simple example I could fit in and benchmark. Given a function int gcd (int, int), a capacity and an array of weights, the code finds the gcd of the cap and all the weights.C code:
Java code:
code:
|
# ? Feb 28, 2014 11:19 |
|
it's fairish except for that java8 is officially out in two weeks and has foldl
|
# ? Feb 28, 2014 12:02 |
|
Brain Candy posted:it's fairish except for that java8 is officially out in two weeks and has foldl it also has String.join()
|
# ? Feb 28, 2014 12:47 |
|
|
# ? Jun 3, 2024 23:50 |
|
Kevin Mitnick P.E. posted:oh gently caress paul graham was right. this is a blub post Not sure I follow like I think Paul Graham had a point minus the lisp bit. node is a good tool for the things it's good for and a bad tool for the things it's bad for. Dessert Rose posted:this may be the best post anyone has ever made in this thread happy to help
|
# ? Feb 28, 2014 13:20 |