|
snype
|
# ? Dec 13, 2013 23:49 |
|
|
# ? Jun 11, 2024 16:02 |
|
while i normally don't care for c++, writing "robust"ish C code does my head in because it invariably boils down tocode:
code:
on the other hand wrapping everything in transactional raii wrappers is its own special flavour of merry hell and probably actually comes out to more LoC on balance so idk this is why i try to write my poo poo in a managed language where possible Sapozhnik fucked around with this message at 15:03 on Dec 14, 2013 |
# ? Dec 14, 2013 15:01 |
|
Mr Dog posted:on the other hand wrapping everything in transactional raii wrappers is its own special flavour of merry hell and probably actually comes out to more LoC on balance so idk You can do something like C++ code:
|
# ? Dec 14, 2013 18:00 |
|
Zombywuf posted:You can do something like I had to use a c api from c++11 recently and used that it was pretty sweet
|
# ? Dec 14, 2013 18:07 |
|
SavageMessiah posted:I had to use a c api from c++11 recently and used that i'm not instantly familiar with the syntax, but doesn't that leave an unused handle1 variable in scope? which then gets removed as part of whitespace and code formatting and other automatic clean ups while going into your source control if you've set it up right?
|
# ? Dec 14, 2013 19:45 |
|
Max Facetime posted:i'm not instantly familiar with the syntax, but doesn't that leave an unused handle1 variable in scope? which then gets removed as part of whitespace and code formatting and other automatic clean ups while going into your source control if you've set it up right? handle1 is usually not unused since you probably want to cancel the unwinding on the non-error return path manually, but in this case you should probably just fix your "clean ups" if they break idiomatic C++ code.
|
# ? Dec 14, 2013 19:50 |
|
yosproject: complete the c++ grandmaster challenge but do it entirely with bash/coreutils/sed
|
# ? Dec 14, 2013 20:25 |
|
should the thread title be updated? i'm pretty sure ruby and javascript are both more hipstery than python these days
|
# ? Dec 15, 2013 04:06 |
ruby isn't hipster any more
|
|
# ? Dec 15, 2013 04:27 |
|
it should be node.js
|
# ? Dec 15, 2013 08:29 |
|
if microsoft supports it is it really hipster enough though?
|
# ? Dec 17, 2013 01:24 |
|
Dessert Rose posted:if microsoft supports it is it really hipster enough though? when microsoft starts supporting it, it is dying see: php
|
# ? Dec 17, 2013 01:28 |
|
Notorious b.s.d. posted:when microsoft starts supporting it, it is dying so it's on the way to becoming hipster, got it
|
# ? Dec 17, 2013 01:33 |
|
I taught a kid some javascript doing a substitution cipher and I guess she really liked it. today she showed me like this 200 lines code to make the ultimate cipher made of other ciphers and you type "lol" and it becomes a buncha tamil characters or some poo poo.
|
# ? Dec 17, 2013 03:23 |
|
Dessert Rose posted:so it's on the way to becoming hipster, got it only if its on windows
|
# ? Dec 17, 2013 03:45 |
|
On 12/16/2013 07:30 PM, Rowan Collins wrote: > The core functions which follow neither rule include C-style > abbreviations like "strptime" which couldn't be automatically swapped to > either format, and complete anomalies like "nl2br". If you named those > functions as part of a consistent style, you would probably also follow > stronger naming conventions than Rasmus did when he named > "htmlspecialchars". Well, there were other factors in play there. htmlspecialchars was a very early function. Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths names were picked specifically to make them fit into a specific length bucket. This was circa late 1994 when PHP was a tool just for my own personal use and I wasn't too worried about not being able to remember the few function names. -Rasmus
|
# ? Dec 17, 2013 07:31 |
|
nordic dreamboat and god-tier sperg-riler
|
# ? Dec 17, 2013 07:47 |
|
eevee 4 hours ago | link Conversely, I wonder how much time/money has been spent porting away from PHP, or working on stuff like hiphop? I don't have an estimate, but it's an interesting question if you're going to argue in terms of economic impact.
|
# ? Dec 17, 2013 10:03 |
|
hip-hop programming language
|
# ? Dec 17, 2013 10:03 |
|
Luigi Thirty posted:Back when PHP had less than 100 functions and the rasssssmmuuuuusssss
|
# ? Dec 17, 2013 17:17 |
|
"composition vs. inheritance" is basically preferring higher normal forms but in oo languages instead of sql
|
# ? Dec 17, 2013 18:45 |
|
composition vs inheritance is wishy-woshy informal bullshit that stems from the fact that oo is arbitrary garbage just give me function overloading (i.e. not methods) with dynamic dispatch idgaf about all the other poo poo
|
# ? Dec 17, 2013 18:49 |
|
Symbolic Butt posted:I taught a kid some javascript doing a substitution cipher and I guess she really liked it. today she showed me like this 200 lines code to make the ultimate cipher made of other ciphers and you type "lol" and it becomes a buncha tamil characters or some poo poo. nice! kids are great
|
# ? Dec 17, 2013 19:04 |
|
Yeah, you know what I was saying about the NSA just throwing money at companies? /smug
|
# ? Dec 20, 2013 23:30 |
|
Zombywuf posted:Yeah, you know what I was saying about the NSA just throwing money at companies? no
|
# ? Dec 21, 2013 00:32 |
|
rip this thread
|
# ? Dec 31, 2013 21:08 |
|
rip im sorry
|
# ? Dec 31, 2013 21:21 |
|
tef i liked your tweets about pg but it felt like pissing into the wind. are you mad a lot irl?
|
# ? Dec 31, 2013 21:24 |
|
Posting Principle posted:tef i liked your tweets about pg but it felt like pissing into the wind. are you mad a lot irl? no and fishmech isnt autistic irl either
|
# ? Dec 31, 2013 21:25 |
|
fishmech is still alive?
|
# ? Dec 31, 2013 21:44 |
|
Otto Skorzeny posted:fishmech is still alive? he's Install Windows
|
# ? Dec 31, 2013 22:04 |
|
I was just about to say the same thing about tef but he's git clone trooper now? I miss the simple times when tef had shaggar's av and shaggar had tbc's av and tbc had tef's av
|
# ? Dec 31, 2013 22:12 |
|
lol ur all dumb
|
# ? Dec 31, 2013 22:21 |
|
Internaut! posted:I was just about to say the same thing about tef but he's git clone trooper now? the good old days
|
# ? Dec 31, 2013 22:39 |
|
git clone trooper posted:no and fishmech isnt autistic irl either i don't believe this for one second
|
# ? Dec 31, 2013 22:40 |
|
I thought "oh nice the thread is alive" but welp. Happy new year, PL thread.
|
# ? Dec 31, 2013 22:55 |
|
emacs may have a package for anything but half the time the package just completely sucks and if it's less than like 300LOC rather than customizing it to do just what you want you're probably better off writing one from scratch i am given to understand that lisp in general is like that
|
# ? Dec 31, 2013 23:11 |
|
Opinion Haver posted:emacs may have a package for anything but half the time the package just completely sucks and if it's less than like 300LOC rather than customizing it to do just what you want you're probably better off writing one from scratch common lisp has this syndrome much worse than emacs does
|
# ? Dec 31, 2013 23:17 |
|
MononcQc posted:I thought "oh nice the thread is alive" but welp. Happy new year, PL thread. hello mr erlang man is chicago boss any good
|
# ? Jan 1, 2014 03:04 |
|
|
# ? Jun 11, 2024 16:02 |
|
Mr Dog posted:composition vs inheritance is wishy-woshy informal bullshit that stems from the fact that oo is arbitrary garbage if a function that can be overloaded and supports dynamic dispatch is not a method, what is a method? you can't claim in the same post that oop is arbitrary garbage and then insist on the core feature of oop
|
# ? Jan 1, 2014 03:51 |