|
Hammerite posted:As a developer who works occasionally (but not specifically) on front-end stuff, I don't know what the connotations are of listing jquery on one's resume. Can you explain?
|
# ? Sep 13, 2022 16:39 |
|
|
# ? May 29, 2024 22:55 |
|
duck monster posted:That unfortunately is not up to me. I'm 2IC to the project manager. The problem is this guy has big-boss protection and project manager has *no* interested in rocking that boat. Might be a clients son or something (We had one of those before with similarly catastrophic effects, thankfully THAT guy quit on his accord.) I'm sure you have your reasons for staying. They have to be to override two significant "abandon ship" signals.
|
# ? Sep 13, 2022 17:26 |
|
Bruegels Fuckbooks posted:You could make the case for using jQuery back when browsers had to support both IE6 and chrome at the same time, because poo poo like event handlers worked differently in every browser. You shouldn't have been using it anymore in 2012, and even discussing it in 2022 is hilariously out of touch. TFW you aren't sure if someone is yelling at you or just in your direction
|
# ? Sep 13, 2022 17:48 |
Hammerite posted:As a developer who works occasionally (but not specifically) on front-end stuff, I don't know what the connotations are of listing jquery on one's resume. Can you explain? it's like telling a c# shop that your primary skillset is visual basic
|
|
# ? Sep 13, 2022 17:54 |
|
Jazerus posted:it's like telling a c# shop that your primary skillset is visual basic VB6 even, nothing as cool and new as .NET
|
# ? Sep 13, 2022 17:58 |
|
duck monster posted:That unfortunately is not up to me. I'm 2IC to the project manager. The problem is this guy has big-boss protection and project manager has *no* interested in rocking that boat. Might be a clients son or something (We had one of those before with similarly catastrophic effects, thankfully THAT guy quit on his accord.) Absurd Alhazred posted:I'm sure you have your reasons for staying. They have to be to override two significant "abandon ship" signals. Seriously, ASAP
|
# ? Sep 13, 2022 18:05 |
|
mistermojo posted:front end developers have to keep using new frameworks or the numb and rote nature of their work will set in Take any noun in English, add ".js" to the end, and put it into Google. If there's not a JS framework already named that, congratulations on finding one of God's names.
|
# ? Sep 13, 2022 18:40 |
|
I saw a website still using prototype.js last year, that was quite a site.
|
# ? Sep 13, 2022 19:16 |
|
seems silly to rewrite the working frontend in vue or react or svelte or whatever, primarily because those frameworks always lead to sites that suck balls
|
# ? Sep 14, 2022 01:13 |
|
Vanilla.js is still my favorite.
|
# ? Sep 14, 2022 04:39 |
|
Hammerite posted:As a developer who works occasionally (but not specifically) on front-end stuff, I don't know what the connotations are of listing jquery on one's resume. Can you explain? . darthbob88 fucked around with this message at 16:39 on Sep 14, 2022 |
# ? Sep 14, 2022 05:29 |
|
Jesus wept: https://stackoverflow.com/questions/6023461/php-variables-made-with-foreach PHP Coders are loving nightmare factories. necrotic posted:I saw a website still using prototype.js last year, that was quite a site. Did it have sick flames above the "construction site" sign? Prototype was the most ruby on railsest of js libraries, a cornocopia of magical nonsense that ultimately caused more problems than it solved.. Fucken thing actually monkeypatched .prototype.blah poo poo into the DOM which as you could imagine was something that would produce pretty friggin inconsistent results. Although in its defense, at least it didnt require a loving buildchain. Or common sense. duck monster fucked around with this message at 15:15 on Sep 14, 2022 |
# ? Sep 14, 2022 15:07 |
|
No fun gifs, sadly. But yeah they came to our support because our SDK wasn’t working on their site… because prototype monkey patches some toJSON methods that do not behave how the standard ones do! We told them “nope stop using prototype we’re not supporting that”
|
# ? Sep 14, 2022 18:52 |
|
duck monster posted:Jesus wept: https://stackoverflow.com/questions/6023461/php-variables-made-with-foreach love to overwrite arbitrary variables with a user-provided list
|
# ? Sep 14, 2022 20:45 |
|
That is like one of the problems that extremely beginner coders often encounter, like "how do I dynamically name variables in a loop" and while its a fundamentally wrong way of thinking about programming, asking that question is usually the first step to understanding data structures such as arrays, dictionaries, etc. But it's cool that PHP gives you function that just does it, instead Mata fucked around with this message at 22:07 on Sep 14, 2022 |
# ? Sep 14, 2022 22:05 |
|
I think one time I've had to use the fact that R has a function to get a variable value from the string representation of its name. I forget the reason, and it's possible I should have just used a list (which is, among other things, R's version of a dictionary) instead interpreted languages are already basically treating their variable names as keys in a map in the underlying language the interpreter is coded in anyways so you might as well offer the functionality, even if it's rarely useful
|
# ? Sep 14, 2022 22:16 |
|
Mata posted:But it's cool that PHP gives you function that just does it, instead They probably miss the olden days when it just happened by default
|
# ? Sep 14, 2022 22:25 |
|
R does function calls by string-replacing the formal argument names in the body with the actual arguments. It's a cursed way of doing f-expressions and known to be impossible to compile.
|
# ? Sep 14, 2022 22:25 |
|
duck monster posted:Jesus wept: https://stackoverflow.com/questions/6023461/php-variables-made-with-foreach The existence of this is just a historical artifact. Nobody writing PHP code professionally use poo poo like this. It won't surprise me if a lot of old cruft like this is not marked deprecated and quickly removed from the language.
|
# ? Sep 14, 2022 22:45 |
|
Tei posted:The existence of this is just a historical artifact. Nobody writing PHP code professionally use poo poo like this. There are zero parts of PHP that I would believe this is true for.
|
# ? Sep 14, 2022 23:23 |
|
Tei posted:It won't surprise me if a lot of old cruft like this is not marked deprecated and quickly removed from the language. Nor is this the case either. I don't think a single thing was removed between 5.x and 7.x and I doubt 8.x is any different. Wordpress compatibility is the biggest yoke on the whole language.
|
# ? Sep 14, 2022 23:29 |
|
Tei posted:The existence of this is just a historical artifact. Nobody writing PHP code professionally use poo poo like this. Man oh man oh man I wish this were true. It is absolutely not true.
|
# ? Sep 15, 2022 04:32 |
|
I find a lot of bad code from enthusiastic new coders stem from locking into a solution early trying to work against the language instead of backing up. Doesn't help that stuff like stack overflow will gladly tell people how to do Z while the user should back up and rethink from X. Like asking how to access something in a react child component from the parent and getting answers about references, instead of getting told about how to structure react components or user callbacks.
|
# ? Sep 15, 2022 08:39 |
|
I'm trying to use an internally developed library but having no luck. I ask the devs what's up with it saying I'm using version 3.0.1, latest stable. "Oh no, no, see you need to use 3.0.0 as that has the latest bugfixes." Meaning 3.0.0 which was already released is now being modified retroactively! (?!) As a result there's now two different 3.0.0 versions mixed everywhere, and for half of us the library won't work because it's updated to the OLD version 3.0.1 automatically in the package manager. lmao.
|
# ? Sep 15, 2022 11:22 |
|
Nice artifact repository you have there that allows retroactively updating packages, too. Working in tandem with your devs, apparently
|
# ? Sep 15, 2022 12:19 |
|
i've seen some perl nonsense (which replaced whatever ibm nonsense net.data was) that did the equivalent of the php thing above to define a separate variable named like TABLE_i_j for every cell (i, j) of a big table of data. if you query too much data, it crashes the whole rear end interpreter because it has some limit on the number of variables you can define, which is something i had never previously in my life even considered was a possible issue.
|
# ? Sep 15, 2022 13:01 |
|
ShimaTetsuo posted:if you query too much data, it crashes the whole rear end interpreter because it has some limit on the number of variables you can define, which is something i had never previously in my life even considered was a possible issue. Oh, I know this one: you need to define a container variable which points to your own internal variable manager for the additional variables you need, probably some kind of string-keyed map.
|
# ? Sep 15, 2022 15:43 |
|
Well, since this is the coding horrors thread, might as well mention PHP's mktime function, whose arguments are hour, minute, second, month, day, year, in that order.
|
# ? Sep 15, 2022 19:02 |
|
Doom Mathematic posted:Well, since this is the coding horrors thread, might as well mention PHP's mktime function, whose arguments are hour, minute, second, month, day, year, in that order. Which is especially ridiculous as the libc mktime function takes a struct tm which has the time/date components in the right friggin order inside it.
|
# ? Sep 15, 2022 19:08 |
|
Doom Mathematic posted:Well, since this is the coding horrors thread, might as well mention PHP's mktime function, whose arguments are hour, minute, second, month, day, year, in that order.
|
# ? Sep 15, 2022 19:10 |
|
That kind of makes sense if you're American Like if you were hand specifying a time you'd say something like 12:30:49 5/26/2022 Same order as the function call
|
# ? Sep 15, 2022 19:12 |
|
PHP finds a new way to disappoint me every day.
|
# ? Sep 15, 2022 19:23 |
|
Kazinsal posted:Which is especially ridiculous as the libc mktime function takes a struct tm which has the time/date components in the right friggin order inside it.
|
# ? Sep 15, 2022 19:45 |
|
C has designated initializers so you can do whatever order you like! Just can't beat the flexibility of these modern dynamic languages.
|
# ? Sep 16, 2022 04:23 |
cheetah7071 posted:That kind of makes sense if you're American Coding horrors: that kind of makes sense if you're American
|
|
# ? Sep 16, 2022 16:12 |
|
cheetah7071 posted:That kind of makes sense if you're American Yeah but the language was not invented by Americans, so what the gently caress. Bruegels Fuckbooks fucked around with this message at 17:56 on Sep 16, 2022 |
# ? Sep 16, 2022 16:53 |
|
pokeyman posted:C has designated initializers so you can do whatever order you like! Just can't beat the flexibility of these modern dynamic languages. Oh man. I work in a shop where C++11 is typical, C++14 is for the new hip types, and C++17 is considered bleeding edge and barely supported. However, this shop _also_ works in ObjC, which is derived from C99 and thus has designated initializers (and it's considered idiomatic to use them with frequently used structs like CGRect). The loving idiotic arguments I have seen from neckbeards in code reviews, insisting that designated initializers are a compiler extension and must not be used until C++20 is officially approved. Lord grant me the confidence of a mediocre C++ programmer.
|
# ? Sep 16, 2022 19:34 |
|
PHP, the language where the dates are American, the errors are in Hebrew and ...? (I like this setup for a joke but I'm too uncreative today to come up with a punchline for it. I'm open sourcing my posting)
|
# ? Sep 17, 2022 12:22 |
|
...and the pain knows no borders?
|
# ? Sep 17, 2022 12:26 |
|
|
# ? May 29, 2024 22:55 |
|
Sistergodiva posted:I find a lot of bad code from enthusiastic new coders stem from locking into a solution early trying to work against the language instead of backing up. This is the bane of software development. 95% of devs will fall over themselves to solve a “how” question asked without stopping ask “why?” I see it in jobs all the time.
|
# ? Sep 17, 2022 16:54 |