|
quote:First, the basics: CoffeeScript uses significant whitespace to delimit blocks of code. suck my entire rear end
|
# ¿ Sep 18, 2018 19:29 |
|
|
# ¿ Nov 2, 2024 00:05 |
|
okay its me the terrible programmer. im writing some javascript (Actually CoffeeScript but whatever) app and im getting a little frustrated with promises, at least in a particular situation since im on CoffeeScript 1.x, I dont have async/await available to me. otherwise I could do this code:
code:
|
# ¿ Oct 21, 2018 03:47 |
|
bob dobbs is dead posted:done, we'll believe you're a terrible programmer now. you can get the statuette when you get out, the little id card is in the mail namaste
|
# ¿ Oct 21, 2018 04:05 |
|
suffix posted:it's terrible in python as well, maybe worse since python code tends to be less overload-crazy in general I like this, Ill have to work it in
|
# ¿ Oct 24, 2018 05:55 |
|
Sagacity posted:ah, the Ultimate Extensibility pattern. lmao the bungie manifest is a sqlite db with an id (signed int, you have to manually convert it to unsigned for it to be useful) and a text field, which is a JSON object string its the loving worst 30 TO 50 FERAL HOG fucked around with this message at 14:59 on Oct 24, 2018 |
# ¿ Oct 24, 2018 14:56 |
|
xml isnt bad but attributes vs elements is real annoying and honestly json just does it better
|
# ¿ Oct 25, 2018 18:35 |
|
prisoner of waffles posted:attributes are guaranteed to have 0 or 1 cardinality and their order is insignificant tho right but thats how it should be. having an xml tree with multiple elements with the same name is loving stupid in all cases where you arent representing an array. and if youre representing an array, those elements should be isolated in a child element that denotes it's an array. json does it better
|
# ¿ Oct 25, 2018 21:17 |
|
its a way to save documents for people too stupid to use explorer mapped drives
|
# ¿ Nov 14, 2018 22:05 |
|
Pie Colony posted:unfortunately i have to learn c++ for work, what’s a good resource for doing so? i’m comfortable with c and java so i don’t necessarily need to start from first principles get a new job
|
# ¿ Dec 17, 2018 20:47 |
|
Corla Plankun posted:im sure i've posted about this before but i once found a query in the wild that was being used "for financial modelling" that was like
|
# ¿ Dec 20, 2018 19:23 |
|
wish i could dig up that post about "big data is just consulting telling you to give your virtual server more ram" because holy lmao
|
# ¿ Dec 20, 2018 19:24 |
|
|
# ¿ Nov 2, 2024 00:05 |
|
namaste
|
# ¿ Dec 20, 2018 20:03 |