NOTinuyasha posted:big nerd ranch makes a good objective-c book programming in objective-c is the best one
|
|
# ? Jun 22, 2013 16:17 |
|
|
# ? May 13, 2024 10:06 |
|
OBAMA BIN LinkedIn posted:boost::scoped_array m8 even msvc has std::array, how old is your compiler
|
# ? Jun 22, 2013 16:18 |
Jerry SanDisky posted:even msvc has std::array, how old is your compiler OBAMA BIN LinkedIn posted:ancient gcc extension that still complains if u don't specify a compile time const value when u initialise arrays.
|
|
# ? Jun 22, 2013 16:20 |
also, our 'modern' platforms for real can't use any c++11 features cos we still have some boxes on rhel4
|
|
# ? Jun 22, 2013 16:22 |
|
you're a braver person than me, i can't write c++ anymore without c++11 stuff
|
# ? Jun 22, 2013 16:30 |
|
truly the terrible programmer safe zone/hideout
|
# ? Jun 22, 2013 16:42 |
|
i'm forced to write code using oci and occi please someone give me succor
|
# ? Jun 22, 2013 16:52 |
uG posted:truly the terrible programmer safe zone/hideout now that you're here
|
|
# ? Jun 22, 2013 16:53 |
|
well i do have many adventures in c++ i just dont want to remember them
|
# ? Jun 22, 2013 16:59 |
|
If you learn Objective-C from a book be prepared to do a substantial amount of catch-up reading on line.
|
# ? Jun 22, 2013 17:29 |
|
Bloody posted:does it take any effort at all to convert a project from using g++ to using llvm because if it does then i don't care because after this project i strongly hope to never use the c++ again Clang doesn't support some of the same compiler parameters as gcc (-f-whatever), and is more picky about some code and will want you to fix it. For our app (hundreds of thousands of lines of code) it wasn't a big deal to port, maybe a couple of days IIRC? the worst thing was doing precomplied headers in a way that worked the same in clang and visual studio 2005 (yes, it's true, I long for death). Ask me about the horrors of maintaining an app that builds itself on OS X using nmake, the horrible make tool included with MS visual studio and not updated in 10 years! Sent from my iPad
|
# ? Jun 22, 2013 17:42 |
|
my limited experience with ruby made me respect the language, it was much better than I ever expected. idk it's like ruby got oop right or something at least compared to python, perl or... php.
|
# ? Jun 23, 2013 14:14 |
|
also I like to think that sulk is a dumbass and doesn't know poo poo
|
# ? Jun 23, 2013 14:15 |
|
Symbolic Butt posted:my limited experience with ruby made me respect the language, it was much better than I ever expected. idk it's like ruby got oop right or something at least compared to python, perl or... php. can you give me a thumbnail sketch of how it got oop right and the others got it wrong? (not being a snarky prick; genuinely curious, because something about ruby gives me the heebie-jeebies and/or the willies)
|
# ? Jun 23, 2013 14:29 |
|
Ruby code:
Ruby code:
|
# ? Jun 23, 2013 15:47 |
|
ruby: has objects that respond to messages. this invokes methods. has lisp-2 style namespaces for method calls and variables. uses observer/internal iterators pushing a callback to the object. uses require/include to build scripts. python: has objects that have attributes. this invokes functions. single namespace. self is lexically scoped. uses external iterators that return a value. has a library system. both imperative call by object style scripting languages hth
|
# ? Jun 23, 2013 17:32 |
Symbolic Butt posted:also I like to think that sulk is a dumbass and doesn't know poo poo ruby is bad not as much because it's slow and is mostly used for web poo poo, but because of the way that a majority of ruby programmers write their code. also there are way too many tdd zealots who are worse than any javascript obsessor
|
|
# ? Jun 23, 2013 18:22 |
|
i think all of the bad stuff in ruby is from people starting with rails and then moving backwards to ruby and applying all of rail's design idioms to their ruby programs even though they don't make sense in that context. like me for instance
|
# ? Jun 23, 2013 18:56 |
|
Ruby has Lisp-2 style namespaces? But Lisp-2s are awful and I thought Ruby was supposed to be hip and cool
|
# ? Jun 23, 2013 21:29 |
|
i dont know who lied to you about ruby being hip or cool but they lied its just another p-lang
|
# ? Jun 23, 2013 22:19 |
|
chef uses ruby and chef is p good the bang method thing is really stupid though. sometimes it means mutation, other times it means throwing exceptions, and still other times it means commit?? sounds like what it really means is "im a dumbass terrible p-langer who cant design an api to save my life so i'll just put in every method i can think of and add ! to some of them"
|
# ? Jun 23, 2013 23:26 |
|
Cocoa Crispies posted:
i'm not sure exactly why this weirds me out, but it does
|
# ? Jun 24, 2013 00:59 |
prefect posted:i'm not sure exactly why this weirds me out, but it does scala does the same thing
|
|
# ? Jun 24, 2013 01:51 |
|
prefect posted:i'm not sure exactly why this weirds me out, but it does numbers arent objects thats why
|
# ? Jun 24, 2013 02:01 |
|
numbers as objects is cool, it lets you do things like code:
|
# ? Jun 24, 2013 03:28 |
|
eax.mov(esp.asAddr()) EVERYTHING is an object
|
# ? Jun 24, 2013 03:42 |
|
prefect posted:i'm not sure exactly why this weirds me out, but it does yeah same, makes my brain itch
|
# ? Jun 24, 2013 03:43 |
|
i am using eclipse to write python code for some personal projects does this make me a bad person should i take the time (b/c these projects aren't particularly urgent) to swot up on vim/emacs/whatever it is the cool kids swear by
|
# ? Jun 24, 2013 04:38 |
just use sublime text
|
|
# ? Jun 24, 2013 04:49 |
|
i like vim cause every fuckin thing has vim on it + you can trick out your local copy
|
# ? Jun 24, 2013 05:01 |
|
just use sublime text it's the perfect editor for the choosy programmer who is not crippled by autism
|
# ? Jun 24, 2013 05:49 |
|
chumpchous posted:programmer who is not crippled by autism
|
# ? Jun 24, 2013 05:59 |
|
i use sublime text on windows 7
|
# ? Jun 24, 2013 07:01 |
uG posted:i use sublime text on windows 7 lol
|
|
# ? Jun 24, 2013 07:28 |
chumpchous posted:just use sublime text lmao
|
|
# ? Jun 24, 2013 07:29 |
*pays 70 dollars for a text editor* *calls other programmers autistic*
|
|
# ? Jun 24, 2013 07:31 |
just use gvim idiots
|
|
# ? Jun 24, 2013 07:33 |
|
OBAMA BIN LinkedIn posted:just use mvim idiots ftfy, because if u don't use mac
|
# ? Jun 24, 2013 07:33 |
|
prefect posted:can you give me a thumbnail sketch of how it got oop right and the others got it wrong? uh no, I can't? sorry I'm a terrible programmer. I guess it boils down a lot to the syntax, in ruby oop feels much more at home compared to say python. here's my sorry excuse for an example: Ruby code:
Python code:
|
# ? Jun 24, 2013 07:38 |
|
|
# ? May 13, 2024 10:06 |
|
gucci void main posted:ruby is bad not as much because it's slow and is mostly used for web poo poo, but because of the way that a majority of ruby programmers write their code. also there are way too many tdd zealots who are worse than any javascript obsessor oh ok, that sounds fair enough
|
# ? Jun 24, 2013 07:39 |