Earlier this year, I wrote about publishing C++/CLI Primer on LeanPub.com. I wondered if there is anybody else besides myself and Microsoft using C++/CLI but readers surprised and humbled me with their support. Seems C++/CLI is here to stay. Know why?
A couple of months back Apress Publications took notice of the book and offered to publish/print. So here it is: C++/CLI Primer for .NET Development, my first book; who would’ve thought 😎
I don’t see this publication as a great achievement or something for there are “miles to go … miles to go”. But it is a little thing to celebrate; cute moments of life.
In penning down the book I was just the vehicle. Friends and family are the wheels and fuel of the vehicle.
Thanks to Apress – Steve, Mark, Amrita and the team.
Thanks to my wife and my brother who always supported and encouraged me to write.
Thanks to Sanjeev and Sammy for not letting my fire within die.
Finally, also taking liberty on behalf of Sanjeev: Special thanks to Tom Craig. Yeah, we would still have been in software development, made names and everything. But without his guidance and inspiration we wouldn’t have known what makes programming a joy.
Problem Reduction is what I call when a given problem can be expressed in terms of or solved using a solution to an alternate problem.
Take for instance, the word distance problem: Find the shortest distance between two words in a given set of words. Following is an unanimous solution, I suppose:
Continue reading Problem Reduction
semantics1 | /sɪˈmæntɪks/ | noun (functioning as sing)
- the branch of linguistics that deals with the study of meaning, changes in meaning, and the principles that govern the relationship between sentences or words and their meanings
- the study of the relationships between signs and symbols and what they represent
- the study of interpretations of a formal theory
- the study of the relationship between the structure of a theory and its subject matter
- (of a formal theory) the principles that determine the truth or falsehood of sentences within the theory, and the references of its terms
Semantics is ever more important in programming.
Continue reading Importance of Semantics
A typical business application is composed of several flows or use-cases. Also, these flows consist of logical ones like a transaction that spans several flows. Take for instance an e-commerce application which consists of user registration/login, product lookup, and one of the most important interactions in an e-commerce application – the shopping cart, and much more. Although these application flows might appear to be discrete and independent of one another, it is after producing a working solution that we realize that these flows are inherently interrelated for one reason or another. The idea of designing stateless application flows is many times confused with the relation between the flows.
Continue reading Application Models
Yes, there is a difference. Although both produce the same end effect, an iterator is not the same as a generator. The difference is in the way it is implemented and also consumed.
Continue reading Iterators vs. Generators
New things are not always instantly accepted. Beyond skepticism, new things challenge the comfort people are accustomed to. JINQ wasn’t particularly welcomed. It was either discarded as unknown angel or worse … ridiculed. However, JINQ still promises expressive succinct code.
Continue reading Mundane vs JINQ Way
I am not a *nix commands expert .. but a professional? So why not relish educating my brother a couple of nifty commands, especially –
grep, which he was looking into at the time. You can find a few more here if you are interested.
So much for the command line, watch out for the _overdose_1. I find it funny when people, especially developers, copy files on the command line on a Mac (or Ubuntu for that matter); I mean files on the local machine. Specifically, they either copy the file (
Cmd-C) via the Finder and paste it, or worse drag and drop, on the Terminal 2. Our next laugh was about editing local files in
The question isn’t why shouldn’t you edit local files in
vim 💪, the question is why would you (want to)? 🤔
Continue reading Text Editors