« first day (2142 days earlier)      last day (2709 days later) » 

7:02 PM
Any tip to contact someone via SE or Github?
 
On SE, you only have chat.
 
I know, can I contact people who aren't on the chat via chat?
 
If you ping them @username they'll get a notification later
 
How much repo to make private chats?
 
only mods can make private chats IIRC
 
7:08 PM
argh
 
have you tried skype?
 
I do not think Skype could run smoothly on a Raspi...
 
@MegaMan Maybe leave a comment on an old post?
 
I know something else, but I don't have my password for that thing... codingame.com
 
7:09 PM
@MegaMan Private chats can only be created for moderation purposes. All interactions on SE are meant to be public.
 
@Dada Do contact someone? Why not XD?
 
@MegaMan I tried blowing a 10*10*10 area full of TNTs on Minecraft on a Raspberry Pi 2, the lag was real
 
@Dennis Hm. It's ok, I think
@KritixiLithos True lag for the win...
I do not think saying hello in comments is a good idea
Loading codingame.com on a raspi... Mh...
 
int superSeriousFunction(string seriousName){
    // hello from a comment!
    cout << "bwahhh it's " << seriousName << " haha!";
    return 42;
}
3
 
@ais523 regarding the reusability of your prolog answer: meta.codegolf.stackexchange.com/q/4939/8478
 
7:14 PM
@ConorO'Brien You didn't return int :(
 
@KritixiLithos that's why it's a serious func
 
I answered it both ways because it's not clear what should happen in a situation where the function is an infinite loop
 
Does anyone know how to get a link to a username on codingame.com?
 
:P fixing
 
7:15 PM
and thus you can't run any code after it anyway
I could adjust the program to quit on the first solution but it'd make it longer and also less interesting
 
Nice! I use 42 too for returning ints on C++!
 
@ConorO'Brien If you want to be serious, you need to return int32 because of compatibility purposes :P
 
@MegaMan huh? since when?
 
I guess this is one of those problems where I don't really care about competing on a level playing field because I doubt there will be any other submissions anyway, but if people really care, I can add some extra code to handle it
 
@ConorO'Brien Since the day I started to hate Visual C++ XD
 
7:16 PM
@MegaMan Visual C++ sounds painful o_o
 
simplest would be to exit the interpreter entirely just after submitting a solution; what are the rules for full programs in languages where the default input method for a full program is to open a REPL?
 
@ais523 I'm afraid terminating is required unless the challenge allows infinite loops. you could still include the infinite loop version separately to show a program that finds all solutions.
 
@ConorO'Brien I did never use it ;)
 
the thing about the way Prolog works is, a full-program submission is hard to define because after you compile and run your program
 
icedove&
 
7:18 PM
the program opens up a REPL
so is it acceptable to ask the user to run a particular function in that REPL to give it its input?
 
hm good question
I have no clue to be honest
 
half the reason we have the rules we do is to avoid having to worry about this sort of thing when the interesting thing is the algorithm
but the way Prolog works, often I need more code to handle I/O than I do for the actual program, even when all reasonable input formats are allowed
because Prolog thinks in terms of constraints rather than data
 
I'm just notifying someone to keep track of him/her: @TuukkaX
 
@ais523 time to port to Brachylog ;)
 
I disagree, I've tried to use Brachylog
it is bad at any thing remotely complex
it's still shorter than Prolog but it's way too verbose for a golfing language
and it's sufficiently bad at handling data structures that I'm not even sure it'd be shorter
for a program like this which makes heavy use of tuples
 
7:24 PM
verbose==evil python==good python==verbose -> good==evil???
 
@DJMcMayhem congrats!
 
Thanks. :)
Up next is electorate, which I'll probably get with a week or two
 
cool!
what's that one for again?
 
Sounds like something moderation-based
 
600 votes on questions challenges
17 to go
 
7:30 PM
Then go and vote ;)
 
0
Q: Generate all combinations of given list of elements, sorted

user7185318Make a Code that takes a list and an number as input, and now generates all possible combinations with the length of the number. For example, with the list {0,1} and the number 2 : 00 01 10 11 Your program hasnt to expect characters twice or more often in the list, such as {0,0,0,0,0,1,1,5,5}...

 
Bye :)
 
@DJMcMayhem you won't get it. you need to have a high % of questions voted as opposed to answers
 
go unvote the answers you voted on then!
 
@ConorO'Brien Yeah, 25% or more. I'm at 30-some
 
7:42 PM
oh lol
I'm at 19%
 
Haha. You probably deserve electorate more, you've got like 5 times as many votes as me
 
Ranked by month, I have the 3rd most number of votes casted
 
@DJMcMayhem yeah, but that also means I need 5x the votes to offset it :P
 
@ConorO'Brien oh hey, looks like you'll overtake me in votes pretty soon
 
7:58 PM
@DJMcMayhem only 30% on questions? I've got 40%
 
Figured you folks might enjoy this: leftoversalad.com/c/015_programmingpeople
13
 
Now that I've used Sublime at work for a few days and learned some of the keyboard shortcuts, I can see why they named it that.
 
@AlexA. that is beautifully accurate
 
@El'endiaStarman because you're transitioning directly from solid to gas?
 
Yes. Why else?
 
8:09 PM
@ETHproductions Is it cool for me to write & submit some code-golf answers in cubix? Also, is there anywhere to get a permalink on the online interpreter?
 
"Cubix is a South Korean animated television series created by Cinepix."
 
Obviously
 
@Flp.Tkc Interesting
 
@AlexA. Comic 19 is...dang.
 
8:15 PM
Most of the comics reveal a sad reality of life
 
@El'endiaStarman D':
 
They're all sad... Now time to go to sleep
 
@El'endiaStarman thanks a lot
 
@AlexA. ...are you okay? You seem to want to go to your corner and cry. And please, do not do what ^ says (holding tears worsens the situation), you can freely cry at TNB.
 
Go on a leftoversalad.com page and type flappyBird() in the dev console
 
8:19 PM
 
There is a textual flappy bird
 
@flawr Oooooh resonances of a guitar body?
 
@El'endiaStarman =)
 
8:27 PM
She should have just asked Java to hold an object
 
@HWalters Yeah, what will she get when she wants her coffee back then? 0.00000000000001% the coffee, 99.99999999999999% trash, or something more awful.
 
Everything in Java is an object
Except primitives
 
I mean, Java does not know which object to give when she asks for her object back.
 
hey
 
Don't understand... Java's referenced based... it's really good at holding objects
 
8:34 PM
I don't think "an object" references anything lol.... that is, unless Java.
 
Nov 2 at 14:15, by betseg
JavaScript is just scripting extension to Java anyways.
 
^ Wrong! 0/10!
JavaScript is not an extension to Java AFAIK.
 
you took that seriously? ಠ_ಠ
 
JavaScript and Java are unrelated. The creators of JavaScript changed the name from LiveScript to JS to capitalize on the popularity of Java at the time.
 
Also, JavaScript does not look like Java.
 
8:37 PM
...you took that seriously? ಠ_ಠ×2
 
0
Q: Should PPCG have an official, objective, list of rules?

ais523This is something that's been bothering me for a while, and is really impairing my use of the site. Any competition needs rules in order to be fair, and this has been established repeatedly in Meta posts (e.g. this post talks about the need for objective winning criteria). It needs to be complet...

 
Now muddyfish again!
 
Can you change your parent site to PPCG, please? You show up as "BlueEyedBeast" currently.
 
His chat profile's parent site is PPCG
 
Yeah, but, he must "change" it to PPCG again in order to change the chat visible name.
 
8:42 PM
Done
 
@NewMetaPosts I feel like this is a really important question to ask. It's bothered me that my question of "where do we actually stand on programming languages" didn't actually change anything
 
9:02 PM
@ais523 I'd really recommend formatting/clearing up your post a bit. It was a tough read, IMO as it's basically a wall of text (and reads like a rant).
I agree with your post, though
 
it is a rant, in some respects
 
a rant isn't a way to get change to occur :)
 
PPCG's lack of objective rules lead me to ragequitting chat a few days ago, then being upset for hours and irritable for days
the only reason I come here is because I like the puzzles and enjoy solving them
everything else about the site, I find terrible and even offensive in some respects
I would have joined the site years ago if not for the fact that I hate it so much
 
if you ragequit because of answers on PPCG I'd say the problem is not primarily PPCG
 
the problem is PPCG's infrastructure
I have to come here because this is where the challenges are, and where the competition is, and where I can interact with other users
 
9:07 PM
I'm just saying that you need to communicate your frustrations better
a "I hate this and that and I quit" post doesn't change much. We've actually had those before
 
I agree with you, but I'm not sure I can actually do anything about it
I'm not sure I am necessarily going to quit, but I thought explaining the reasons why I hate it might potentially lead to change
there's a specific post right now whose legality is in dispute, and which is on an question and thus is holding the whole thing up
 
@ais523 Do consider how much of that infrastructure we can actually change. PPCG is essentially a hackish solution to having code golf and other types of challenges on the Stack Exchange model, which was designed for something else entirely.
 
right, you can totally do that, but add some bolding to important facts, or make a numbered lists, or something
 
there's no objective rule dealing with it
 
@El'endiaStarman he's specifically talking about our site-specific rules which can be changed
 
9:10 PM
@El'endiaStarman I know, it's Stack Exchange itself that I hate, not anything about the PPCG community who are doing a moderately good job of working around it
but the site-specific rules are a potential workaround that isn't currently in use
 
That's a different point.
 
atm we're using SE's default method for determining what the rules are
which is only good if people aren't skirting the edges of the rules all the time
and the nature of a competition site, as opposed to a programming QA site, is that you have to skirt the edges
on Stack Overflow, if your question or answer is close to being invalid or rulebreaking, just edit it to bring it further from the edge
on PPCG, you can't do that because it probably costs bytes
 
PPCG isn't a Q&A site. That might explain a lot about your situation.
 
@ais523 one potential problem with nailing down all of the rules is that there are lots of rules that would really difficult to nail down unambiguously. For example, (in recent memory), we allow input/output via the stack. What exactly is the "stack"?
 
0
Q: Sum digits till Square

Dirk ReichelGiven is any integer x > 0 and any base y > 3. Sum all digits of x (if written in the set base). Multiply this by the highest possible digit (is always base -1). Repeat until this value is (y - 1) ^ 2 Searched is the count of iterations and the steps. Example 1: x= 739 y= 7 searched: (7 - 1...

 
9:14 PM
It is impossible to set objective and exhaustive rules given the number of different languages there are here
 
I wouldn't say impossible, but we'd have to get really good at making statements that are broad enough to include languages but specific enough to ban loopholes. A good example is Peter's post about what a programming language is
 
@NathanMerrill IMO the best way to nail down input/output arguments objectively is to a) have a very standard sitewide standard for which input and output is given (e.g. stdin and stdout, arrays have such and such a formula, etc.); b) have an official list of wrappers that convert from that standard to things that are "more suitable" for the languages in question; c) require wrappers to be posted to Meta and get a certain number of upvotes to be usable
our current method is full of loopholes, but I can't know whether they're worth abusing or not because I can't know whether they comply with the rules or not
 
@NathanMerrill And then Dennis created this proving that Peter's definition of programming language is dubious at best
because it's actually too hard to define to not get any abuse
 
for a while, I believed Jelly (the language) is abusing a loophole in I/O methods, but the lack of rules meant that I couldn't prove it; I've since changed my mind and decided that it probably isn't, but again, with no rules it's hard to be sure
that said, I think it's possible to abuse the same loophole far more effectively
possibly even to the extent of having a valid zero-byte answer for every question
@NathanMerrill anyway, I've calmed down a bit; could you be more specific with what makes my rant hard to read (in particular, is it the answer, question, or both?), and I can potentially try to fix it
 
@ais523 thanks for bringing this up. I also find our rule situation very unfortunate, but I don't really have any good ideas for how to solve it.
 
9:24 PM
I don't see a problem with our rule system.
 
I'm not sure I do either, but I thought it was worth at least starting the discussion and giving my best guess at a solution
 
the only thing I can think of is making the rules a lot stricter, e.g. by allowing only full programs and stdin/stdout communication. I'd actually be in favour of this, but I know it would lead to a lot of backlash from the community. with anything like functions, you'll always get problems in terms of objectivity when it comes to language semantics. if nothing else, I can always design a new language that defies the concepts we've based our definitions on.
 
actually, the reason I think we have to allow functions and dubious communication methods is because we have competition between languages here
 
@ais523 re your new meta post, I haven't read all of it yet, but we do have time of posting as the default tie breaker
 
and some languages need more boilerplate than others, and the boilerplate isn't that interesting
I believe the fix is actually to define new language variants with less boilerplate, though
 
9:26 PM
competition between languages is pointless with or without rules accommodating those languages more conveniently
 
I know ais523 has answered with Prolog, and in that language restricting I/O to STDIN/STDOUT makes no sense
and for other languages it's the natural way
 
yes, but in Prolog, restricting output to strings and lists and integers (and concepts that even exist in other languages) makes no sense too
even with PPCG's huge permissiveness about I/O
I often have to spend more bytes complying with I/O formats than with the actual algorithm :-)
 
the other solution (and I've suggested this in the past) is to go the other way and get a lot more fine-grained by setting up rules for submissions per language
 
I don't mind that, though; the existence of golfing languages mean I don't have to worry about winning
 
@Flp.Tkc Of course :-) Just beware that it's quite difficult to use for all but the simplest challenges.
 
9:28 PM
@ais523 tbh if you're golfing to win and not using a golfing language you're setting yourself up for disappointment
 
0
Q: Should the victory condition for a challenge always ensure that it has only a single winner?

ais523Back when I first posted a challenge, it was closed as unclear, on the basis that – despite having an objective victory condition – the victory condition allowed ties. After searching Meta, I can't find a rule about this anywhere, so I think it's about time to start a discussion on what is and is...

 
@ConorO'Brien not if it's python
 
@MartinEnder here
 
@noɥʇʎPʎzɐɹC you're still setting yourself up for disappointment.
 
@Fatalize wow, I would have had no idea where I had said that, nice work
 
9:29 PM
Well I asked that so I remembered :p
 
@Flp.Tkc And no, not yet, I generate them manually with JS's btoa. I'll add a button for that when I have time tonight
 
@MartinEnder per language may be good, but perhaps too fine. Maybe there could be general categories and a process for appealing to a finer granularity on a per-language basis. (E.g., there could be a general golfing language category, or a general programming language category)
 
CMC: given two ranges of values on positive integers (e.g. 3<X<6, 4<X<8), find an integer that belongs to both ranges (e.g. in this case the answer would be 5), or return something clearly distinct from a valid answer if there's no answer available
 
@ConorO'Brien I don't know. Jelly has very different semantics from Pyth, which is very different from Brachylog, which is again very different from CJam
 
@MartinEnder true as that may be, it could allow for conformity among newer golfing languages
 
9:31 PM
re objective rules, one of our most successful and more recent rules is how we determine what's truthy and what's falsy. this definition doesn't actually work in a lot of esolangs, and I can't think of any good general objective rule that would cover all of them in a reasonable way.
 
(the above is designed to make a point about Prolog; it looks like a reasonable question, but in Prolog, you'd idiomatically answer the entire question in the input format rather than in the program itself)
 
Golfing to win is tantamount to golfing for points... and the point structure doesn't seem to be optimized for golfing even for code-golf posts
 
@undergroundmonorail q_q
You have a better score than me on my own challenge
 
it's always good to compare two answers that are solving different problems, and choose a winner
 
9:32 PM
@ais523 how are ranges inputted? pairs of numbers? 4 different, ordered numbers?
 
@ConorO'Brien that's the point I was trying to make with the question :-D
"any reasonable input method" is what I'd write on PPCG
 
oh, cool
 
I don't see why that's a problem
 
the point is that as soon as you define how the ranges work, you're giving an unfair advantage to some languages and an unfair disadvantage to others
 
so just leave it to any reasonable input method
 
9:33 PM
OTOH, it's still an interesting (if fairly easy) problem algorithmically
 
@MartinEnder I'd be ok with a bunch of rule sets for input/output. For example, lets say we had a "Rule set" that said "Truthy is 1" and "Falsy is 0". Then languages could "sign up" for that rule set. Basically, for each language, you'd have a list of rule sets that apply to it.
that way, you can reuse most rulesets for most languages
and you don't have to create new definitions every time a new language comes around
 
@NathanMerrill +1
 
@NathanMerrill I basically argued that here but people don't agree
 
huh, I just remembered how booleans work in INTERCAL-72
there's a consensus that you use 1 and 2 for true and false; however, it's usual to change which is which dynamically in different parts of a program
because it's much easier to negate them when you generate them than when you actually use them
so which is truthy and which is falsey? my opinion here would be "you can do either but there's a penalty of 1 bit" (which is the amount of information you need to specify which is which"
then, if you submit two programs, one to handle one way round, one to handle the other way round, and they're the same length
then you can prove that the output format isn't being used to save bits, so you can remove the penalty
as it is, though, I think the fundamental problem in codegolfing is "this operation just happens to be shorter in this language" tends to determine the winner
 
I don't think winning the challenge is the end-all to enjoying the challenge.
 
9:39 PM
Is it bad for swapped truthiness to count?
 
@TimmyD There's now Powershell (with more aliases) and Powershell (coreutils) (reduced aliases). I've added the aliases according to this. Others might be missing.
 
@ConorO'Brien nor do I; if I did, I'd have left the site ages ago
OTOH, I find trying to define the rules an interesting problem in its own right
 
CMC: Solve P=NP
 
@ais523 right. but I'd go so far as to say that the winner is irrelevant
@noɥʇʎPʎzɐɹC very original, funny, and relevant joke.
 
I think the competition is relevant, and the winner is a method of defining the competition
 
9:40 PM
@ais523 12 bytes
 
however, actually being the winener doesn't matter much
 
@ConorO'Brien is that sarcastic?
 
@noɥʇʎPʎzɐɹC Yes it is.
 
@ConorO'Brien why ;_;
 
@Fatalize neat, and it makes a very good point about Prolog (and Brachylog) in the process
 
9:41 PM
It is original
 
because we are all friends, and that's what friends do
 
@Fatalize its funny because I actually agree with both of you. A large problem with what you propose is that you propose that each language has a single "natural" input/output. That said, I actually think it'd make more sense for each language to have multiple options when it comes to what is more natural
 
Would be 6 bytes if the intervals weren't strict
 
@noɥʇʎPʎzɐɹC not really
 
Aka, in Java, if you are passed a list, you can be passed a List<T> or a T[]
 
9:42 PM
@ConorO'Brien I wasn't aware of that. You have accused me of reposting.
 
@NathanMerrill What annoys me the most is people claiming e.g. "lmao" and "rofl" are both valid truthy values because they evaluate to true in some language
Though I've noticed that challenges recently generally ask only one value for truthy and one for falsy to avoid that
 
@noɥʇʎPʎzɐɹC accusing me of what you may.
 
oh gah, I just realised that Help, WarDoq! probably works for the polyglot challenge
 
@Fatalize in some languages, I'd allow that
 
@NathanMerrill Or (T,T,T,...T)
 
9:43 PM
@ais523 ?
 
@Fatalize almost everything is truthy in Perl; I often exploit that via printing a copy of the input, or something similar, for true
 
@NathanMerrill I would only allow one truthy value
 
for example, in python, if you wanted to return "lmao" as a truthy value, I'm ok
 
@noɥʇʎPʎzɐɹC well we're collaboratively (answer-chaining) making a polyglot; Help, WarDoq! seems like a language that could genuinely be worked into it
 
people returning the result of a computation as a truthy value are not returning a truthy value
 
9:45 PM
its actually a really common practice to return something other than true/false even when its going to be used as a truthy/falsy value
that's one of the strong points of python
 
In production C, 0's often used for truth and nonzero for false (most especially when dealing with methods that return error codes)
 
I'm completely ok with that
 
I'm ok that it's common. I'm not ok that you can return a lot of different values that are supposed to all be "true"
 
@Fatalize well, given a challenge like "does a string of letters contain any letter other than x", I'd call s/x//g (+1 for -p) a valid solution in Perl
 
You choose one for your answer, not an infinite set of them
 
9:46 PM
what's most important, though, is the emotion behind it all
 
if you change it to "a string of letters and digits" it no longer works
 
as another example, if the object was to decide whether or not a char was in a string, (c,s)=>1+c.indexOf(s) is shorter than (c,s)=>c.indexOf(s)>-1
 
because 0 is falsey
 
Your lang might be turing complete, but can your language perform every operation a RAM operation can perform in O(1) time in O(1) time?
bf isn't "RAM-speed-complete"
 
"A RAM operation"?
 
9:47 PM
@Fatalize I totally disagree. For example, lets say I had an iterator object with a "hasRemaining()" function. But instead of returning true/false, it returned the number of iterations left. I could totally see that existing in real life, so I'd be ok with it be valid on this site
in essence, its not the multiplicity of values that is the problem, but when users use the broadness of rules (that were intended for other languages) in their own language
 
@ais523 finally managed to read through your other meta post. I like your suggestion, but I find the wording a bit too strict: there is an optimal answer to every code golf challenge, it's just usually very very hard to prove that you've found that optimal answer.
 
aka, accepting a unary number
 
@NathanMerrill "Instead of returning true/false, it returned the number..." so you're saying yourself that you're not returning a truthy/falsy value
 
and this is the main reason why code golf works so well as a winning criterion: in code bowling there's no upper bound. you could "improve" your answer endlessly, but there's also usually no challenge in doing so.
 
@MartinEnder I agree that that's a problem, and would welcome improvements; I was having difficulty wording it myself
 
9:49 PM
In computer science, random-access machine (RAM) is an abstract machine in the general class of register machines. The RAM is very similar to the counter machine but with the added capability of 'indirect addressing' of its registers. Like the counter machine the RAM has its instructions in the finite-state portion of the machine (the so-called Harvard architecture). The RAM's equivalent of the universal Turing machine – with its program in the registers as well as its data – is called the random-access stored-program machine or RASP. It is an example of the so-called von Neumann architecture and...
 
which is not what a challenge asking truthy/falsy means
 
ie being able to jump in memory
 
@Fatalize right, but 0 is falsy, and everything higher is truthy.
 
@Fatalize but numbers are truthy
 
and that is very natural in python
 
9:50 PM
in some languages*
 
@NathanMerrill italics are cool
 
True/false is two values
 
truthy does not mean true, likewise for falsey
 
0/[1;inf[ is not
 
@NathanMerrill How about find in C++ STL containers, which return iterators if the element isn't found (but nothing you can interpret unless you get the container's end iterator to compare to)
 
9:51 PM
you don't want to force python users to return literally True and False
I think that's a rather bad idea
 
You can return anything you want
But 2 values
not as many as you want
Choose whatever you want
 
then you're going to end up with a worse situation where users will return 0/1;inf[ for true and 1/0;inf[ for false
 
what about Prolog? in early implementations, returning false and crashing were indistinguishable
 
@TuxCopter i.imgur.com/rS4vtZ4.png we probably have exactly the same solution haha
 
@HWalters doesn't C++ auto cast those iterators to true/false?
 
9:52 PM
(since then, certain errors have been declared serious enough to terminate the program rather than merely failing)
 
@NathanMerrill No
 
@undergroundmonorail It's the obvious solution
 
And I think it's optimal
 
for power usage, sure, but people have done ~Y5 and 4 lines
 
9:53 PM
wut
 
@HWalters well, I don't know C++, but the point is that we would have a list of "acceptable" values for each language. As to what C++ is allowed, I have no idea
 
Wow
 
C++ has truthy values for sure; just raising the point that there's a potential "cheat" if you don't (in this case, can't) specify explicitly which value is falsey
 
oh I agree. I was specifically talking about Python for my example
 
9:55 PM
incidentally, it's not just codegolf where this sort of situation comes up
 
@everybody What if it is a challenge, and I create an object that evaluates to either true or false when evaluated, e.g. using @property in Python?
 
in Java, returning 0/1 instead of false/true would not be allowed
 
Then I can do it in 0ms!
 
mathematicians have been stymied for ages trying to figure out rules for what counts as Turing complete
(the loophole in question being the use of an infinitely long program in languages where all programs are inherently infinitely long)
@noɥʇʎPʎzɐɹC I believe the length of time it takes to determine truthiness should count as a penalty on the answer
arguably the compile time should too, otherwise you could construct a lookup table of all possible answers at compile time
 
@ais523 C++ is instantly disqualified.
 
9:57 PM
(Also in C++, string has a find that returns std::string::npos if not found, which is roughly largest possible signed value cast as unsigned)
 
write a faster compiler :-D
 
@ais523 just hardcode your lookup table :)
 
^
I have never allocated memory in C++, and yet I have written not-small programs. Am I C++ing wrong?
 
there's a reason why good fastest-code challenges near-impossible to make a lookup table for
I believe for C++ that's fine. But not ok with C
 
@noɥʇʎPʎzɐɹC You never use strings?
 
9:59 PM
@HWalters Not really.
 
@noɥʇʎPʎzɐɹC It's very hard to avoid allocating memory; creating any local variable does that. However, in modern C++ it's entirely possible and reasonable not to allocate any variable explicitly, and rely on libraries and language functionality to do it for you.
 
I mean I do string buf; for simple stuff.
 
even int i; allocates memory, if it appears inside a function
 

« first day (2142 days earlier)      last day (2709 days later) »