|
Computer viking posted:New code, or trying to understand what was left behind by someone else? Perl seems like one of the languages where that makes an especially large difference. There are dozens of ways to make the same bit of code incomprehensible! And you will see them all!
|
# ? Dec 8, 2022 13:34 |
|
|
# ? May 18, 2024 22:13 |
|
Hammerite posted:also, it is going to destroy javascript and when it does, i will stan for it even harder what are you talkng about
|
# ? Dec 8, 2022 13:36 |
|
thathonkey posted:who cares. js New front end framework name
|
# ? Dec 8, 2022 13:41 |
|
Computer viking posted:New code, or trying to understand what was left behind by someone else? Perl seems like one of the languages where that makes an especially large difference. The latter, writing extensions for an existing platform. The person who built it in the first place is fortunately still around, but it's still a lot of code to go through at this point. Most fun part is trying to guess whether a given function will return an actual variable or a just reference, and being wrong every single time.
|
# ? Dec 8, 2022 13:57 |
|
Space Kablooey posted:JSON is... okay? Fine, even? I don't really understand where it sucks, TBH. In addition to not allowing comments, JSON sucks because it does not allow multi-line strings; carriage return and line feed characters have to be encoded as "\r" and "\n" literals. This makes (human) reading of long strings painful.
|
# ? Dec 8, 2022 14:12 |
|
thathonkey posted:what are you talkng about The future of web development, BLAZOR
|
# ? Dec 8, 2022 14:30 |
|
Oh yeah just shove the entire .net runtime into WASM
|
# ? Dec 8, 2022 14:52 |
|
WASM: we want native-ish code in browsers but we don't want it to be that viable so we're going to limit its interfaces so it's not actually that useful as a new way of coding the web unless you're writing a background crypto miner into your website. At least let me write directly to a canvas buffer without the JS layer overhead or something jesus MikeJF fucked around with this message at 14:59 on Dec 8, 2022 |
# ? Dec 8, 2022 14:55 |
|
bigperm posted:The future of web development, BLAZOR
|
# ? Dec 8, 2022 14:57 |
|
bigperm posted:The future of web development, BLAZOR
|
# ? Dec 8, 2022 15:00 |
|
I think they're talking about proper 'native' WASM-DOM/Canvas/whatever interfaces in the next year or so? I don't really think WASM stuff is going to be super viable outside of niches until those are prevalent
|
# ? Dec 8, 2022 15:14 |
|
jimmy mnemonic posted:In addition to not allowing comments, JSON sucks because it does not allow multi-line strings; carriage return and line feed characters have to be encoded as "\r" and "\n" literals. This makes (human) reading of long strings painful. I'll give you the no comments thing, but for the second thing you could get an editor or viewer that line breaks for you.
|
# ? Dec 8, 2022 15:15 |
|
im gonna make my own json replacement
|
# ? Dec 8, 2022 15:45 |
|
thathonkey posted:im gonna make my own json replacement please god yes
|
# ? Dec 8, 2022 15:51 |
|
I can't wait to write a JsonConverter.java to convert the new JSON back to old JSON and keep on trucking
|
# ? Dec 8, 2022 15:55 |
|
MikeJF posted:Oh yeah just shove the entire .net runtime into WASM i think i'd rather be dead, personally
|
# ? Dec 8, 2022 16:19 |
|
Zugzwang posted:Finally started learning C++, so eventually I’ll be able to figure out if I agree with you, or if I should’ve just become a plumber. C++ has a nice language but it also has lots of features from less nice languages. If you stick to the modern version of the language and don't try to write your own template code it's generally not that bad. If you can get away with just interacting with R then you only have to deal with Rcpp and that's not bad at all. Computer viking posted:I have some sort of impostor syndrome around programming. Not at work, where I'm easily the most competent guy in the department - but that's arguably part of the problem. I write scripts and one-off analysis code at a bioinformatics group, and basicslly nothing I write has a lifetime of more than a few months; most of it is only really used once or twice. The only long-running projects I have are some inventory tracking tools: a python+flask backend, a web frontend with a bit of React as an excuse to try that, and a small C++/Qt desktop program. None of them have needed a single line changed this year. I've been in both worlds and I definitely prefer the one you're describing.
|
# ? Dec 8, 2022 17:29 |
|
cum.com that'll be $800
|
# ? Dec 8, 2022 17:34 |
|
FutonForensic posted:cum.com
|
# ? Dec 8, 2022 17:44 |
|
Christ just use Rust instead of C++ if you are starting a new project. You won’t waste nearly as much time on all of that garbage tooling, name munging, and header file poo poo. “Modern C++” is horseshit, because it’s not like you can silo yourself off in that portion of the language and ecosystem if you’re doing anything nontrivial. Rust is actually quite popular at this point. FFI is easy enough as well.
|
# ? Dec 8, 2022 17:56 |
|
cat botherer posted:Christ just use Rust instead of C++ if you are starting a new project. You won’t waste nearly as much time on all of that garbage tooling, name munging, and header file poo poo. “Modern C++” is horseshit, because it’s not like you can silo yourself off in that portion of the language and ecosystem if you’re doing anything nontrivial. Rust is actually quite popular at this point. FFI is easy enough as well. what about golang
|
# ? Dec 8, 2022 19:51 |
|
I only make websites using hypercard.
|
# ? Dec 8, 2022 19:56 |
|
olives black posted:what about golang
|
# ? Dec 8, 2022 20:01 |
|
cat botherer posted:golang has garbage collection, so it isn’t quite as suited to some of the systems/numerical stuff, but there’s definitely a lot of overlap. Does it actually have generics now? yep
|
# ? Dec 8, 2022 20:02 |
|
if you can use go you probably should
|
# ? Dec 8, 2022 20:11 |
|
olives black posted:what about golang the language where the devs had to have their arms bent behind their back to add such a controversial feature as 'generics'. I can't wait to have to argue for 3 years the next time I want a feature that has been totally standard in every other language that's worth thinking about because someone wants to inject rigid philosophy into what is supposed to be a general purpose language. no thx Canine Blues Arooo fucked around with this message at 20:24 on Dec 8, 2022 |
# ? Dec 8, 2022 20:22 |
|
There is something to be said for a language that's designed for morons. I know everyone here is an excellent and smart programmer, but it can have its advantages in large projects or the ecosystem.
|
# ? Dec 8, 2022 20:24 |
|
At my job we work with big machines and don't touch computer at all and we hate all the brands of big machine in exactly the same way you all hate every programming language, this seems like it may be universal
|
# ? Dec 8, 2022 20:31 |
|
cat botherer posted:There is something to be said for a language that's designed for morons. I know everyone here is an excellent and smart programmer, but it can have its advantages in large projects or the ecosystem. yeah thats the main benefit of go. if you write alone or on a smallish team of high talent devs great, you can probably make anything work for you. otherwise you want something simple enough for the avg programmer (which is an avg in decline if anything) that doesnt not enable them to gently caress things up too badly
|
# ? Dec 8, 2022 20:36 |
|
thathonkey posted:yeah thats the main benefit of go. if you write alone or on a smallish team of high talent devs great, you can probably make anything work for you. otherwise you want something simple enough for the avg programmer not gently caress things up too badly isnt that called python?
|
# ? Dec 8, 2022 20:37 |
|
Canine Blues Arooo posted:isnt that called python? if you dont need static typing sure, python is great. but you probably do for any meaningfully large codebase
|
# ? Dec 8, 2022 20:39 |
|
I've been writing golang for ~2mos and it seems like I have to reinvent all the basic poo poo I had available in every other language I've written in but otherwise it's pretty ok and works most of the time unlike the unforgivable pile of heaping poo poo that is typescript
|
# ? Dec 8, 2022 20:39 |
|
slurm posted:At my job we work with big machines and don't touch computer at all and we hate all the brands of big machine in exactly the same way you all hate every programming language, this seems like it may be universal
|
# ? Dec 8, 2022 20:40 |
|
Smugworth posted:I've been writing golang for ~2mos and it seems like I have to reinvent all the basic poo poo I had available in every other language I've written in but otherwise it's pretty ok and works most of the time unlike the unforgivable pile of heaping poo poo that is typescript golang is pretty bad and it's maintainers are its worst enemy, but it's really hard to do worse then type/javascript which is so bad, i dont think you can pay me enough to ever touch it again.
|
# ? Dec 8, 2022 20:43 |
|
cat botherer posted:Things in software are vastly more broken than in industry-industry. How things are here would be like if a mechanic was trying to change an oil filter, but there's like also a hole at the bottom of the oil filter (by design), and you have to put JB Weld in the hole to mostly seal it, and then you try to screw it in but the threads are all hosed up and irregular, so you kind of hammer it in and put some more JB weld on, so it kind of works, most of the time. We live like this all the time! But usually it takes years of neglect and isn't just made that way on purpose, I see your point. But every day I feel like the pakled engineer
|
# ? Dec 8, 2022 21:31 |
|
I've been doing Advent of Code in Go and I like it. There just aren't that many choices for statically typed, garbage collected languages that compile to machine code and Go seems to be a good choice if that's the feature set you're looking for in a language.
|
# ? Dec 8, 2022 21:41 |
|
I'm Crap posted:I think they're talking about proper 'native' WASM-DOM/Canvas/whatever interfaces in the next year or so? I don't really think WASM stuff is going to be super viable outside of niches until those are prevalent Do you know where I would find those planned subjects?
|
# ? Dec 8, 2022 22:29 |
|
what about scheme scheme seems cool you can even embed it in a C program with guile
|
# ? Dec 9, 2022 08:15 |
|
who is the guy who said blazor will kill js, lmao. i will absolutely toxx myself with zero hesitation for blazor scratching any of the top 3 js frameworks in the next 5 years. blazor will absolutely not loving kill js. p.s. js owns die mad about it
|
# ? Dec 9, 2022 15:00 |
|
|
# ? May 18, 2024 22:13 |
|
Ape Fist posted:who is the guy who said blazor will kill js, lmao. some unserious person. js is fine as any language, as we've established itt, theyre all poo poo
|
# ? Dec 9, 2022 15:29 |