@Rapptz There's my "Mayfly" thingy, but I have to refactor both its underlying library and the framework itself and provide a sane makefiles for both so they are not hardcoded to use clang. Also it's not too featureful yet.
The problem is with Either. I need to chain Either<T,E> with Either<NT,NE> and type safety is killing me. If the first either is in the right hand side I need to return an Either<NT,E> which isn't Either<NT,NE> which breaks type safety.
@Cinch Hey man. Like I said, we have rules, the reason why everyone's grumpy is because it's obvious you didn't read it or you read it and disregarded them completely.
mornings there would max out at 17*C, here it's 22*C and today the temperature is expected to climb up to 37*C under shade (not sure if this is the proper term)
guys, imagine Australian asking for "tartar sauce" in a restaurant ^_^...
Aussie guy: hey, get me some sauce, Ta-Ta thanks. (ignoring 'r' sound). Aussie waiter: You've thanked me 3 times straight so I brought you some Vegemite.
This feels so wrong. I'm trying to write what basically amounts to a generalised singleton wrapper template. :/
in my defense, it's an attempt at reining in the countless singletons we already have in our code and give them at least somewhat well-defined lifetimes... A tiny first step towards making them non-singletons. But eeew...
VISUAL FOXPRO DATA CAN BE CONVERTEDTO TEXT BY
USE DB
COPY TO DBTXT TYPE SDF
THIS WILL CREATE DBTXT.TXT FILE. WE CAN EVEN CREATE A DELIMITED FILE WITH SOME CHAR SIMLY TYPE FOX2X AND LOT MORE IS THERE. ITS AS SIMPLE ASTHAT SO CAN WE TRANSFER THE DATA TO SQL USING A SIMPLE COPY COMMAND ?
@VáclavZeman Well, at the moment I'm experimenting with a sort of middle road: make a wrapper intended to be explicitly allocated on the stack, to give it a clearly scoped lifetime. Then that object can have a static member function users throughout the code can call to get access to the one stack-allocated object. If I get that far, then I can gradually convert all the many use sites into being passed the "singleton" objects they need, instead of just calling Foo::instance() to get it.
anyway, at the moment I'm just playing around with it. Our most immediate problem at the moment is that we can't control the lifetime of the singletons. If I can get that under control, eliminating global access to the objects can come later
@Puppy it turned out ok. We're officially Canadian now, and they've got enough funds to pay our wages. ;) A lot of business/strategy stuff is still up in the air, but overall, things are back to normal
@Arcoth I can't take consistency into consideration because you just threw this at me with no context whatsoever: "What about auto i = 0;? I'd use int there."
@Arcoth it doesn't for me. I read "auto" as "I'm declaring a variable". I'm used to recognize it in the structure of my code. What I focus on immediately is the name
@AlexM. Perhaps common sense would be applicable. The example obviously focused a short type name - it's not about the name of the metasyntactic variable.
It's your opinion :) - i'm just saying placeholder types aren't the best choice everywhere :)
And you can't feel pro with ideone either - it feels so childish. In public i'm always like "shit, hopefully no one sees how i'm gonna use ideone for a sec to look at the code that someone sent me (dammit why do they use Ideone >:( )"