|
the exception to this rule is if you pick c++, because then the language and the problem are the same thing
|
|
|
|
|
| # ? Dec 7, 2025 06:10 |
|
Soricidus posted:the exception to this rule is if you pick c++, because then the language and the problem are the same thing Except C++ is cool and good.
|
|
|
|
ratbert90 posted:Except C++ is cool and good. you guys aren't making it sound like either of those things
|
|
|
|
ratbert90 posted:Except C++ is cool and good. I didn’t say it wasn’t. just that people seem to approach c++ as a problem to solve (it’s not enough just to make it do thing, you have to make it do thing as elegantly as possible, and preferably at compile time)
|
|
|
|
Soricidus posted:I didn’t say it wasn’t. just that people seem to approach c++ as a problem to solve (it’s not enough just to make it do thing, you have to make it do thing as elegantly as possible, and preferably at compile time) paraphrasing hackbunny this is because if you don't do that you're just stuck using a language that's not fit for purpose. if not doing crazy template stuff is an option then why not use java or c and not have to deal with like copy constructors and member function pointers and somebody's lovely destructor throwing exceptions
|
|
|
|
because my brain is broken and I enjoy writing c++ for regular everyday tasks
|
|
|
|
Illusive gently caress Man posted:because my brain is broken and I enjoy writing c++ for regular everyday tasks
|
|
|
|
Illusive gently caress Man posted:because my brain is broken and I enjoy writing c++ for regular everyday tasks yeah this please remember that the context of my comments is specifically picking a language for hobby projects. for real-world things you should make pragmatic decisions based on e.g. whether you do in fact have a business need to shave 16 bytes off every file object. but for hobby projects it should be based entirely on what you enjoy. if what you enjoy is figuring out how to make c++ do things in clever ways then it's a great choice. and if you don't, then you should pick a different language for your dumb spare time thing that nobody else will ever care about, because c++ will just get in your way and distract you from the bits you find enjoyable. if your hobby problem is one for which java is suitable, and java is the language you know best, then it might be a good choice even though it is not a fashionable language. i hope these statements are entirely uncontroversial, peace
|
|
|
|
i mean unless you're doing hobby projects in PL/SQL in which case what the gently caress
|
|
|
|
I can’t wait for C++2x to have a standard package manager and build system that both require doing everything in C++ template metaprogramming
|
|
|
|
Cold on a Cob posted:i mean unless you're doing hobby projects in PL/SQL in which case i wrote a rest api in 100% postgres for funsies
|
|
|
|
the talent deficit posted:i wrote a rest api in 100% postgres for funsies
|
|
|
|
yeah I was thinking about doing something similar, all the pieces are there, I guess, and hey at least it's not Oracle lmbo
|
|
|
|
There's also PostgREST.
|
|
|
|
NO POSTGRETS (POSTGRATS?)
|
|
|
|
if anyone thinks I've been insulting them, their work or their tools, they should stop being insecure little fucklets and maybe try to learn something from my posts, starting from the idea that if your job requires programming you should get better at programming
|
|
|
|
rust's proc_macro trip report: actually pretty good. they let you operate on streams of tokens likecode:i used it to kinda give rust named arguments: code:![]() code is here but please don't judge me i should have slept hours ago and i hard-coded a bunch of poo poo instead of actually dealing with the complexity of real syntax
|
|
|
|
hackbunny posted:if anyone thinks I've been insulting them, their work or their tools, they should stop being insecure little fucklets and maybe try to learn something from my posts, starting from the idea that if your job requires programming you should get better at programming you must be a joy to work with irl
|
|
|
|
Yeah after reading that I’m certain you haven’t been insulting anyone
|
|
|
|
hackbunny posted:if anyone thinks I've been insulting them, their work or their tools, they should stop being insecure little fucklets and maybe try to learn something from my posts, starting from the idea that if your job requires programming you should get better at programming nobody thinks you're insulting them or their tools, your posts are very interesting, and i almost always learn something from them. i think people are confusing your obviously superior technical knowledge on topics such as the windows api and c++ with recommendations to learn those specific technologies, which i would not wish on my worst enemy
|
|
|
|
DELETE CASCADE posted:nobody thinks you're insulting them or their tools, your posts are very interesting, and i almost always learn something from them. i think people are confusing your obviously superior technical knowledge on topics such as the windows api and c++ with recommendations to learn those specific technologies, which i would not wish on my worst enemy lol stop stroking her ego so much akadajet fucked around with this message at 01:19 on Dec 11, 2018 |
|
|
|
akadajet posted:lol stop stroking his ego so much seriously though VV o rly my bad
|
|
|
|
her
|
|
|
|
hackbunny posted:if anyone thinks I've been insulting them, their work or their tools, they should stop being insecure little fucklets and maybe try to learn something from my posts, starting from the idea that if your job requires programming you should get better at programming funny how "better at programming" always really means "more like the kind of programmer i am"
|
|
|
|
i kinda felt insulted but also had it coming so 🤷
|
|
|
|
let's steer this topic of conversation towards something more wholesome Boy if there's one thing I love it's random drops of win32 API trivia
|
|
|
|
hackbunny posted:if anyone thinks I've been insulting them, their work or their tools, they should stop being insecure little fucklets and maybe try to learn something from my posts, starting from the idea that if your job requires programming you should get better at programming the thing is that i never want to get better at the kind of programming i actually do for my job, because that's the poo poo i already slog through all day long. if i'm going to do something with my spare time besides play video games, i want it to be new and interesting. also, maybe i'll learn enough that i won't have to be a fuckin Javascript jockey my whole life that's why i spent half the day yesterday buried in 6502 manuals trying to learn assembly language via NES homebrew
|
|
|
|
Beamed posted:let's steer this topic of conversation towards something more wholesome i too enjoy the writings of raymond chen. well except for the apologetics
|
|
|
|
johan huizinga was the foremost scholar of play in the 20th century. it is difficult to define play but huizinga attempted 5 characteristics:huizinga posted:Play is free, is in fact freedom. programming satisfies remarkably and perfectly all except the first and the fifth
|
|
|
|
bob dobbs is dead posted:johan huizinga was the foremost scholar of play in the 20th century. it is difficult to define play but huizinga attempted 5 characteristics: if you program in c++, you also get #1 and #5!
|
|
|
|
s/Play/lisp/g
|
|
|
|
ctps: just wrote like 10 visual studio snippets how have I lived this long without them
|
|
|
|
Kevin Mitnick P.E. posted:if not doing crazy template stuff is an option then why not use java or c and not have to deal with like copy constructors and member function pointers and somebody's lovely destructor throwing exceptions ideally the crazy template stuff is for someone else to have written and for me never to have to see
|
|
|
|
code:
|
|
|
|
the system is gonna implode next year if naughtiliss goes without major price deflation asap (USER WAS BANNED FOR THIS POST)
|
|
|
|
|
Krankenstyle posted:
dude please take this kind of thing to e/n
|
|
|
|
Krankenstyle posted:
Sir, this is a Arby's drive through.
|
|
|
|
gonadic io posted:rust's proc_macro trip report: actually pretty good. they let you operate on streams of tokens like so they’ve kind of reinvented Dylan’s design for syntax-transforming macros in an Algol-like language which, good for them, but there are solid reasons syntax-transforming macros are mostly used in languages with S-expression syntax
|
|
|
|
Soricidus posted:there are basically two worthwhile options if you’re programming in your free time: What if ur problem is wanting to design a fun language Edit: what are those reasons?
|
|
|
|
|
| # ? Dec 7, 2025 06:10 |
|
feedmegin posted:What if ur problem is wanting to design a fun language thats a pro tier choice for a hobby project. you can make all the same mistakes as everyone else and find out the hard way why all programming languages are bad! you probably shouldn't use java for it though. antlr4 is really good for parsing but the java output basically forces you to use horrible visitor pattern poo poo and it's just not very fun. use an fp language with adts and pattern matching, it's p much what things like ml were designed for
|
|
|

































