|
Bloody posted:wait whats wrong with singletons i like them in very specific situations when i don't want random god objects floating in some main class or whatever "I need to manage a shared resource" is a good reason to have a singleton "I don't want to go to the effort to manage state in a sustainable fashion" isn't
|
# ? Jun 19, 2013 06:24 |
|
|
# ? May 16, 2024 17:26 |
|
Cocoa Crispies posted:"I need to manage a shared resource" is a good reason to have a singleton this sounds like i have been using them correctly this alarms me
|
# ? Jun 19, 2013 07:01 |
|
Bloody posted:use a lang with xml literals like scala thank me later you know which other language has xml literals...
|
# ? Jun 19, 2013 08:10 |
|
~Coxy posted:you know which other language has xml literals... i dont, actually well i guess is it xml?
|
# ? Jun 19, 2013 08:16 |
|
would someone reccomend me a resource for learning c++ that is organized in a sane format? like basically imagine a guide written for a p-lang, but in this case it is for c++. maybe something that keeps me kind of motivated to keep learning instead of just hitting me with everything i could ever need to know about defining functions, none of which i can use because i still don't even know how to make an array? i'm being hyperbolic here but bjornfjords book is not very good for learning. his technical explanations are good but i'd like to see some common c++ design patterns and maybe some examples of why the language is useful. maybe show me some neat stuff i can do with templates instead of just giving me the definition and moving on. i also don't need idiot's first programming language guide to c++. i just need something with pictures tia
|
# ? Jun 20, 2013 19:55 |
|
there aren't many sane resources for c++ because it is not a sane language. someone who is better at it can step in with suggestions, but i don't think there's an easy way to learn it tbh Accelerated C++ is good, the C++ Primer is also good and more modern (but very very dense). effective c++ and effective stl will give a nice overview of best practices and common patterns, but they assume a level of knowledge that you might not be at yet i would say work through accelerated c++ (do the exercises) and then effective c++ and the wikipedia article on c++11. make it interesting for yourself along the way by doing small projects that interest you. maybe look into qt or some framework that interests you once you're ready for some mind-blowing pick up Modern C++ Design and Exceptional C++ comedy answer: get all of shrughes and that turkey story's posts from the c++ thread in coc and you've probably got a couple of good books
|
# ? Jun 20, 2013 20:55 |
|
Jerry SanDisky posted:comedy answer: its like those riddles where one of the guards always lies
|
# ? Jun 20, 2013 23:31 |
|
just learn C first so all the 'candy' of C++ isnt confusing the poo poo out of you and then just never bother learning C++ because you are a C programmer and too smug for that
|
# ? Jun 20, 2013 23:47 |
|
uG posted:just learn C first so all the 'candy' of C++ isnt confusing the poo poo out of you and then just never bother learning C++ because you are a C programmer and too smug for that
|
# ? Jun 20, 2013 23:58 |
|
c has the worst style of comments and doesnt let me use dots, no thanks
|
# ? Jun 21, 2013 00:09 |
|
if you base your language choice on those types of things then C++ or php is definitely for you
|
# ? Jun 21, 2013 00:11 |
|
JawnV6 posted:its like those riddles where one of the guards always lies
|
# ? Jun 21, 2013 00:37 |
|
chumpchous posted:c has the worst style of comments and doesnt let me use dots, no thanks -/ isn't a bad style of comment smdh if your editor doesn't know comment syntax though
|
# ? Jun 21, 2013 00:42 |
|
Cocoa Crispies posted:-/ isn't a bad style of comment wat
|
# ? Jun 21, 2013 00:44 |
|
lol i just tried this in a c file and sublime used // which isn't actually valid c
|
# ? Jun 21, 2013 00:45 |
|
sublime
|
# ? Jun 21, 2013 00:46 |
|
Cocoa Crispies posted:lol i just tried this in a c file and sublime used // which isn't actually valid c c99
|
# ? Jun 21, 2013 00:47 |
|
click here for hott coq
|
# ? Jun 21, 2013 00:48 |
|
learned ansi c, only ever professionally worked in the kind of c a 2005-era compiler on a dead unix can use
|
# ? Jun 21, 2013 00:48 |
|
visual C will never be updated past c89 so we can deduce that c99 is not real C
|
# ? Jun 21, 2013 01:02 |
|
Cocoa Crispies posted:learned ansi c, only ever professionally worked in the kind of c a 2005-era compiler on a dead unix can use lol might as well use COBOL
|
# ? Jun 21, 2013 01:05 |
|
modify user sublime packages so that it uses your flavor of commenting finally fulfilling its role as the vim successor
|
# ? Jun 21, 2013 01:06 |
|
Bloody posted:i dont, actually hitler no wait, visual basic
|
# ? Jun 21, 2013 07:05 |
|
Cocoa Crispies posted:lol i just tried this in a c file and sublime used // which isn't actually valid c what? // is a perfectly valid single line comment in C99
|
# ? Jun 21, 2013 18:05 |
|
uG posted:visual C will never be updated past c89 so we can deduce that c99 is not real C c99 loving owns, msvc can take a flying gently caress at a rolling doughnut edit: check this poo poo: code:
|
# ? Jun 21, 2013 18:09 |
|
this is a good thign for doing comment things with key commands https://github.com/scrooloose/nerdcommenter
|
# ? Jun 21, 2013 18:12 |
|
uG posted:visual C will never be updated past c89 so we can deduce that c99 is not real C msvc is poo poo. ms going out of their way to purposefully not implement c99 is bullshit. making their own c99-esque safe string functions that take the exact same arguments and produce the same results but have different names is bullshit. clang/LLVM supremacy.
|
# ? Jun 21, 2013 20:18 |
Use Objc
|
|
# ? Jun 21, 2013 20:26 |
|
im going to learn ruby
|
# ? Jun 21, 2013 20:30 |
|
Jerry SanDisky posted:im going to learn ruby no dont
|
# ? Jun 21, 2013 23:02 |
|
ruby is a beautiful language and rails is the best framework 99% of the people who care about a language's speed make lovely CRUD apps that don't need to be fast
|
# ? Jun 21, 2013 23:33 |
|
why learn ruby when perl6 is going to obsolete it
|
# ? Jun 21, 2013 23:57 |
|
why learn perl when its the prototypical p lang
|
# ? Jun 21, 2013 23:57 |
|
perl6 isnt perl 1-5, but a prototypical p langer probably wouldnt know that because its not a buzzword yet
|
# ? Jun 22, 2013 00:00 |
|
Inflict pain upon others: I've started a new project with million dollar data fees and playing with Python, Java, and Go, linking them all up with 0mq and Google's protocol buffers. Public interface is a web service exported via Mongrel2. I've only ever used Python as part of Scons, I've only written one Java application for JDK 1.3 hacking some news protocol 10 years ago, and first time to look at Go. I'm using Java for Glassfish's WSDL import as Go has nothing, I'm using Python as Mongrel2 ships with a Python module and I'm too lazy to rewrite it in Go. Less than a week for a functional prototype. I'm wondering if there is some retarded way to get Haskell or other arcane language in there.
|
# ? Jun 22, 2013 00:04 |
|
Why learn Ruby when you can learn Objective-C, which is rapidly being turned into compiled Ruby by all the Ruby devs flocking to it.
|
# ? Jun 22, 2013 00:06 |
|
theres no good tutorials or books for objective c
|
# ? Jun 22, 2013 00:10 |
|
objective c is a really stupid language seriously use ruby motion and if you need something to be fast write it in c
|
# ? Jun 22, 2013 00:25 |
|
chumpchous posted:objective c is a really stupid language seriously use ruby motion and if you need something to be fast write it in c said a terrible programmer. polpotpi posted:theres no good tutorials or books for objective c "how do i maek iphone apps, post tutorials plz."
|
# ? Jun 22, 2013 00:33 |
|
|
# ? May 16, 2024 17:26 |
|
objective c is a wordy blah language but whatever its fine, its just cocoa and whatnot thats a hassle to all take in
|
# ? Jun 22, 2013 00:35 |