|
Tiny Bug Child posted:it's been said that php is just a wrapper around a bunch of c functions and that's kind of true. in a way, it's c for the modern era of the web. it's easier to work with and all the useless stuff like pointers is stripped out MALE SHOEGAZE posted:i wish your posts were untyped!!
|
# ? Jun 13, 2015 07:36 |
|
|
# ? Jun 11, 2024 13:07 |
|
MALE SHOEGAZE posted:i wish your posts were untyped!! oh gently caress
|
# ? Jun 13, 2015 08:36 |
|
Dynamic typing can be OK. Implicit conversions can be OK. But they are never OK together. PHP is stupidly typed.
|
# ? Jun 13, 2015 09:21 |
|
MALE SHOEGAZE posted:i wish your posts were untyped!!
|
# ? Jun 13, 2015 12:46 |
|
JewKiller 3000 posted:the "distinction" between strong and weak typing is nowhere near as important as the distinction between static and dynamic typing (the latter is not typing). and as other posters have explained, strong/weak typing are not very well defined, so such terms are avoided in the literature. but when it does appear, the term "weak typing" applies invariably to C
|
# ? Jun 13, 2015 13:27 |
http://www.foreverscape.com/art/2015/america-offline/
|
|
# ? Jun 13, 2015 13:36 |
|
Athas posted:Dynamic typing can be OK. dynamic typing much moreso than implicit conversions comedyblissoption fucked around with this message at 15:12 on Jun 13, 2015 |
# ? Jun 13, 2015 15:09 |
|
also it feels like every single line of C code is out to murder you with subtle yet catastrophic failure scenarios and security compromises and overflow this includes the code you can't see in the preprocessor in some library somewhere b/c of C's horrible module system lol
|
# ? Jun 13, 2015 15:13 |
|
c is cool and good
|
# ? Jun 13, 2015 16:19 |
comedyblissoption posted:also it feels like every single line of C code is out to murder you with subtle yet catastrophic failure scenarios and security compromises and overflow
|
|
# ? Jun 13, 2015 16:41 |
|
thats not an understatement btw it's every single line of code
|
# ? Jun 13, 2015 16:57 |
|
I would rather become really good with C than really good with Rust because jobs using C actually exist.
|
# ? Jun 13, 2015 17:43 |
|
and c is really good and useful
|
# ? Jun 13, 2015 17:49 |
|
comedyblissoption posted:thats not an understatement btw thanks to macros, even a line of code containing a single right-brace can leap up and strangle you
|
# ? Jun 13, 2015 18:24 |
by the way, what's up with go? saw today some article "why golang is doomed to succeed" and realised that i have no clue about it. is it some new php or something?
|
|
# ? Jun 13, 2015 19:30 |
|
it's a garbage collected c with better syntax also the package system isn't bad
|
# ? Jun 13, 2015 19:38 |
|
it is deprecated Google garbage
|
# ? Jun 13, 2015 19:39 |
|
Symbolic Butt posted:also the package system isn't bad import "github.com/definitely/trustworthy/code"
|
# ? Jun 13, 2015 19:43 |
|
Bloody posted:deprecated Google but you repeat yourself
|
# ? Jun 13, 2015 19:48 |
|
C is cool because like every third statement you write actually has undefined behavior that works with your compiler by chance.
|
# ? Jun 13, 2015 19:59 |
|
Symbolic Butt posted:it's a garbage collected c with better syntax you forgot to mention the absolutely terrible type system it is the worst type system I've ever used.
|
# ? Jun 13, 2015 20:20 |
|
kalstrams posted:by the way, what's up with go? saw today some article "why golang is doomed to succeed" and realised that i have no clue about it.
|
# ? Jun 13, 2015 21:03 |
|
http://cowlark.com/2009-11-15-go/
|
# ? Jun 13, 2015 21:06 |
|
kalstrams posted:by the way, what's up with go? saw today some article "why golang is doomed to succeed" and realised that i have no clue about it. it's a language released in 2012 that has static types and yet lacks generics
|
# ? Jun 13, 2015 21:17 |
|
if you ask about some way to bring map or filter into golang, one of the principal creators of the language may respond to you with https://groups.google.com/forum/#!topic/golang-nuts/RKymTuSCHS0 rob pike posted:The modern programmer thinks a newline is a thousand times harder to to be fair this is tied to the lack of generics you could desperately try this: https://github.com/tobyhede/go-underscore#map but then you'd have to ask yourself why are you using golang
|
# ? Jun 13, 2015 21:19 |
|
stop no youll summon pram
|
# ? Jun 13, 2015 21:30 |
|
this is also a good demonstration of why rust is good you get all of the cool features of haskell but you can actually program useful things in it
|
# ? Jun 13, 2015 21:30 |
|
MALE SHOEGAZE posted:f# is pretty good
|
# ? Jun 13, 2015 21:52 |
quote:go stuff
|
|
# ? Jun 13, 2015 22:05 |
|
b0lt posted:it's a language released in 2012 that has static types and yet lacks generics generics own hard
|
# ? Jun 13, 2015 22:30 |
|
Soricidus posted:import "github.com/definitely/trustworthy/code" lol I didn't know this was a thing
|
# ? Jun 13, 2015 22:57 |
|
b0lt posted:it's a language released in 2012 that has static types and yet lacks generics
|
# ? Jun 13, 2015 23:04 |
|
comedyblissoption posted:if you ask about some way to bring map or filter into golang, one of the principal creators of the language may respond to you with I can kinda see where he's coming from python has map and filter and they're always used by assholes I'm not saying that functional programming is bad, it's just that maybe there's something about these features in algol-style languages that I just don't know
|
# ? Jun 13, 2015 23:08 |
|
the reason why map and filter are bad in python isn't because loops are good enough, it's because loops + generator expressions are good enough
|
# ? Jun 13, 2015 23:24 |
|
claiming it might be ill-fitting in algol-likes is really weak C# and even now Java has these features on top of that they have an interface for these features that you can extend with your own generic data types
|
# ? Jun 13, 2015 23:29 |
|
I've yet to meet a C#/Java developer who uses those features so idk. MAYBE THIS IS A GOOD THING? (I feel like I'm dangerously sounding like shaggar here) maybe it's cultural, some python developers try to be way too smart and end up writing spaghetti code with map/filter Soricidus posted:the reason why map and filter are bad in python isn't because loops are good enough, it's because loops + generator expressions are good enough I agree
|
# ? Jun 13, 2015 23:39 |
|
Symbolic Butt posted:maybe it's cultural, some python developers try to be way too smart and end up writing spaghetti code with map/filter how do map and filter obfuscate control flow, pray tell?
|
# ? Jun 13, 2015 23:53 |
|
using linq in C# is really prevalent also anyone familiar with SQL has a passing familiarity with map/filter due to the similarity with SELECT and WHERE i would agree that python has poor support for chaining a bunch of lambdas and higher order functions there so it's gonna look awful and ugly. it looks bad enough in javascript. i would disagree it is spaghetti-ish though.
|
# ? Jun 13, 2015 23:56 |
|
the average java programmer might yell at you if you use it since it's relatively a very new language feature
|
# ? Jun 14, 2015 00:09 |
|
|
# ? Jun 11, 2024 13:07 |
|
f# is fine too if .net is acceptable
|
# ? Jun 14, 2015 00:14 |