|
tef posted:shameless self promotion, but i've put another mechanically recovered post up quote:Letting the runtime, instead of the programmer handle security was quite the missed opportunity his pet language Wasabi (An in-house coffeescript of vbscript). tef fix this its hurting my brain
|
# ? Jan 5, 2013 12:42 |
|
|
# ? Jun 11, 2024 12:26 |
|
i had to dig back into some code i wrote in 2010, shoehorned changes into in 2011, and will be scrapping for a rewrite in 2013. every loving thing i did to get the changes done in 2011 was clever... i'm ashamed.
|
# ? Jan 5, 2013 15:47 |
|
Stringent posted:tef fix this its hurting my brain poor stack management imho
|
# ? Jan 5, 2013 16:16 |
http://c.learncodethehardway.org/book/krcritique.html lol zed
|
|
# ? Jan 5, 2013 16:44 |
|
he's right, k&r isn't viable in a post "smashing the stack for fun and profit" world
|
# ? Jan 5, 2013 19:23 |
|
a friend of mine has a "STRCAT" license plate because "when people use it i get paid"
|
# ? Jan 5, 2013 19:24 |
|
lolquote:Where K&RC runs into problems is when the functions or code snippets are taken out of the book and used in other programs. wtf, this book sucks, it isn't even a cookbook, what the hell
|
# ? Jan 5, 2013 21:44 |
|
Cocoa Crispies posted:a friend of mine has a "STRCAT" license plate because "when people use it i get paid" nice thing to drive around with that nobody understands
|
# ? Jan 5, 2013 22:18 |
|
Toady posted:nice thing to drive around with that nobody understands nobody understands "PSV 82M" either
|
# ? Jan 5, 2013 22:21 |
|
right that's a license plate number
|
# ? Jan 5, 2013 22:35 |
|
e: nvm
|
# ? Jan 5, 2013 22:37 |
|
sulk please go learn a thing tia
|
# ? Jan 5, 2013 22:57 |
|
zed shaw is cool and has done lots of great things for the community unfortunately, he's remarkably easy to troll
|
# ? Jan 5, 2013 23:06 |
|
I personally got taught how to program in python in our first year at university, and I thought it was great. Once we learnt the basics we spent most of the rest of our 4 year course doing Java, but also learnt C and Haskell too. Now that I have graduated and I work for a small software house, I pretty much have to use whatever language I get told to use, or the legacy / brown field system are improving already uses, and I can easily be working in 3 or more languages a day, and its all because I started programming in python. It made understanding how to actually program easy, not just how to do something using the particular quirks or environment of one single language. I guess I must have gone to a hipster university.
|
# ? Jan 6, 2013 01:50 |
|
Gavinvin posted:I personally got taught how to program in python in our first year at university, and I thought it was great. Once we learnt the basics we spent most of the rest of our 4 year course doing Java, but also learnt C and Haskell too. no that's pretty much the way it shoudl be, a modern object-oriented language with functional parts like python or ruby is a great gateway to programming because you can get tangible progress faster bondage and discipline languages designed to keep the mentally challenged from breaking things like java and c# where hello world takes five lines and a hello world web app requires like 80 lines of code and 90 xmls are obviously worse languages that don't have the concept of a "string" like c are also terrible ideas
|
# ? Jan 6, 2013 02:04 |
|
Cocoa Crispies posted:no that's pretty much the way it shoudl be, a modern object-oriented language with functional parts like python or ruby is a great gateway to programming because you can get tangible progress faster Java's pretty easy to break. code:
|
# ? Jan 6, 2013 02:27 |
|
the first language i learned in school was FORTRAN. welp.
|
# ? Jan 6, 2013 02:32 |
|
Morkai posted:the first language i learned in school was FORTRAN. our maths department still teaches that to students whose only prior experience is maple and maybe some mathematica and those weird stats languages. i think the coordinator's a sadist. i only found this out when i was talking to someone doing it and they were like "oh you're a computer scientist are you? what languages do you learn? Fortran" and they seemed upset when i assumed they were taking the piss
|
# ? Jan 6, 2013 03:14 |
Gavinvin posted:Java's pretty easy to break. lovely programmers basically hey idiots, learn your operators
|
|
# ? Jan 6, 2013 03:16 |
|
Why on earth do all these lovely programmers keep expecting == to test for equality?!
gonadic io fucked around with this message at 03:24 on Jan 6, 2013 |
# ? Jan 6, 2013 03:20 |
it is, just not the equality you're thinking of
|
|
# ? Jan 6, 2013 03:21 |
why the gently caress would you expect any operator to do a certain thing that corresponds to your conceptual model? learn the goddamn language idiots, this is Java, a language which illogically overloads + for string and for nothing else
|
|
# ? Jan 6, 2013 03:26 |
my point being if you're not a terrible programmer then at the very least you should know exactly what the fundamental operators in your language do, and with a language like Java which occasionally overloads them, know all of the exceptions. stop loving complaining about being ignorant.
|
|
# ? Jan 6, 2013 03:36 |
|
OBAMA BIN LinkedIn posted:my point being if you're not a terrible programmer then at the very least you should know exactly what the fundamental operators in your language do, and with a language like Java which occasionally overloads them, know all of the exceptions. stop loving complaining about being ignorant. if you're not a battered wife you shouldn't work with java, it behaves in weird and unintuitive ways with basic poo poo like string equality
|
# ? Jan 6, 2013 03:38 |
in all fairness people probably wouldn't think Java would automatically do string equality with == if it wasn't for the + overload. surely if it overloaded +, it overloaded == too right??? I still maintain though that if you knew what == did when given two objects, you probably wouldn't have this problem. X-BUM-RAIDER-X fucked around with this message at 03:48 on Jan 6, 2013 |
|
# ? Jan 6, 2013 03:42 |
|
Gavinvin posted:I personally got taught how to program in python in our first year at university, and I thought it was great. Once we learnt the basics we spent most of the rest of our 4 year course doing Java, but also learnt C and Haskell too. check your code privilege
|
# ? Jan 6, 2013 03:50 |
|
OBAMA BIN LinkedIn posted:I still maintain though that if you knew what == did when given two objects, you probably wouldn't have this problem. i.e in languages where == means equality value rather than identity
|
# ? Jan 6, 2013 03:51 |
Java is a pretty big loving fail imho
|
|
# ? Jan 6, 2013 03:55 |
|
OBAMA BIN LinkedIn posted:Java is a pretty big loving fail imho
|
# ? Jan 6, 2013 04:09 |
|
OBAMA BIN LinkedIn posted:Java is a pretty big loving fail imho keep trollin' trollin' trollin' trollin' (what)
|
# ? Jan 6, 2013 04:23 |
|
wait how many languages actually do string equality right?Ruby code:
Python code:
Perl code:
JavaScript code:
|
# ? Jan 6, 2013 04:34 |
C# is the best language you can start with in a CS program also at least 1-2 courses in a CS curriculum should be dedicated solely to utilizing libraries/frameworks and reading/writing API documentation.
|
|
# ? Jan 6, 2013 04:42 |
|
gucci void main posted:C# is the best language you can start with in a CS program don't you mean a software engineering curriculum...
|
# ? Jan 6, 2013 04:47 |
|
gucci void main posted:C# is the best language you can start with in a CS program c# is bad for the same reasons java is bad because it's the same language but they replaced some words, plus it's also only for a dying os and a pain in the rear end to install javascript might be the best starting choice because you can build it up from html (and if you can't do html you can't do CS), and everyone already has a basic js environment installed
|
# ? Jan 6, 2013 04:48 |
|
Cocoa Crispies posted:wait how many languages actually do string equality right? wait how many languages have strings as values rather than strings as object references. quote:
so ruby has no string cache, (unlike symbols). quote:
so python has a string cache, because immutable strings Perl code:
Perl code:
quote:
identity in js is ===. strings are weird.
|
# ? Jan 6, 2013 05:22 |
|
gucci void main posted:C# is the best language you can start with in a CS program thanks for standing in for shaggar. quote:also at least 1-2 courses in a CS curriculum should be dedicated solely to utilizing libraries/frameworks and reading/writing API documentation. this is an idea so vague it can only end badly.
|
# ? Jan 6, 2013 05:24 |
|
|
# ? Jan 6, 2013 05:44 |
|
i would normally write a huge sperg effort post about which language to learn but i already have one of those waiting to be published. tldr; walk before running. use the scripting languages your friend use
|
# ? Jan 6, 2013 06:00 |
|
Lisp code:
|
# ? Jan 6, 2013 06:41 |
|
|
# ? Jun 11, 2024 12:26 |
|
gently caress i love lisp it's so beautiful
|
# ? Jan 6, 2013 06:42 |